A_L
A_L

Reputation: 1146

How to update embedded resource (file) at design time

I have a text file as an embedded resource & can read it fine during runtime. Now when I want to update this resource, it works fine if I edit the file in Visual Studio and then rebuild BUT if I edit in an external editor eg. notepad then the changes are not seen in Visual Studio.

I have tried cleaning then rebuilding but nothing seems to force an update of the resource file - any ideas?

Upvotes: 0

Views: 1136

Answers (1)

A_L
A_L

Reputation: 1146

Argh! I see the problem now. VS copied my original file into the solution folder (the one below the .sln file) and VS is using that file. I was editing the file in the original location from where I created the resource.

Upvotes: 1

Related Questions