This source file has changed. It no longer matches the version...

  • Thread starter Thread starter Randy
  • Start date Start date
R

Randy

I'm using VS 2005 version 8.0.50727.762 SP .050727-7600. I have a c# ASP
project. Lately, when I've been running the project in the IDE, I get a
dialog which says...
"This source file has changed. It no longer matches the version of the file
used to build the application being debugged"
I've gone into the Tools/Options and went to the Debugging/Edit and Continue
and tried turning it off (I originally turned it on), shut down the project
and restarted...but I'm still getting the message intermittently.
Is there a way to stop this from happening?

Thanks
Randy
 
Randy,

Try building your project before you debug. I believe in C#, I am a VB guy,
that the project is not automatically built when you start debugging.
Building the project first will ensure the project and any dependencies are
built.

Hope this helps,


Steve
 
Back
Top