Reputation: 1146
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
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