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

R

Randy

I'm using VS 2003. 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
 
C

Cowboy \(Gregory A. Beamer\)

There are a couple of times when this happens. The first is if you are using
..NET test files (Team Tester or Team Suite). In these cases, rebuild works
fine.

The other is if one of the libraries was compiled in release but still has a
PDB file that matches an old version. If so, kill the PDB files before you
run again.

It is also theoretically possible that you have the temporary ASP.NET files
out of sync. If this is the case, shut down Visual Studio. Delete the
temporary ASP.NET files (%windir%\Microsoft
..NET\{FrameworkVersion}\Temporary ASP.NET files).

Are you on Vista by any chance? If so, all bets are off. Visual Studio sucks
hogs on Vista. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top