In Visual Studio 2008 using C#, I had a working project yesturday. Made some changes. Went to debug and what starts running is the project without the changes. If I build a release version, or start the project fvrom VS with debugging, the changes are there. When I go to debug the cahnges I made today are gone. There are no compilation errors and no exceptions occuring that I know of..
The solution was to delete the .exe file created by the debugger... when I re-started the project using the debugger after the delete, all the changes where there. It simply was not re-compiling the .exe file with my changes. Don't know why, but the problem hasn't re-surfaced since.
Hi, It is strange, are you using any version control software, such as TFS? try to close all VS instances and restart VS, and rebuild your application before debugging.
Thanks, EricPlease remember to mark helpful replies as answers and unmark them if they provide no help.
The solution was to delete the .exe file created by the debugger... when I re-started the project using the debugger after the delete, all the changes where there. It simply was not re-compiling the .exe file with my changes. Don't know why, but the problem hasn't re-surfaced since.