How to update a TXT resource?
Posted on 2008-02-11
I have a text file that I have included in a Visual Studio 2005 (C#) project.
I recently updated the file in a text editor, but now, whenever I build the solution, the program somehow uses the *old* text file -- which I have confirmed is nowhere on my hard drive.
Note that I didn't change the name of the file; I simply updated its contents, which are now very different from what they were before (so there's no chance that I could be getting the same output).
So, why is my program still running as though the contents of my TXT file haven't changed?? The old file must be cached somewhere, but I can't find it. I tried cleaning my solution, removing the re-adding the text file as a project resource, and manually deleting build files -- nothing has worked.