By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,969 Members | 1,564 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,969 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Jun 1 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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. :-)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************
"Randy" <te**@temp.comwrote in message
news:O8**************@TK2MSFTNGP05.phx.gbl...
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


Jun 1 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.