473,473 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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
1 13427
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Lowell Kirsh | last post by:
I have a script which I use to find all duplicates of files within a given directory and all its subdirectories. It seems like it's longer than it needs to be but I can't figure out how to shorten...
1
by: Salad | last post by:
On you form you have a combo box of a list of employees. In the Employee table you have the employee name, employee id, and an ActiveInactive status. Initially, the list contains the names of...
1
by: Koen | last post by:
Hi all, I created a little database to manage my e-books. The program will synchronize a table with the contents of a directory. Works great. Because I keep additional info (like keywords) to...
2
by: Larry Menard | last post by:
Folks, I'm writing an SQL UDF to replace DB2's LIKE (which has some nasty limitations regarding concatenation), and I've reached a problem that I can't figure out. It must be a coding or logic...
14
by: Bit byte | last post by:
I am pretty close to the end of my tether at the moment. I have a project which requires some header fies - which happen to be located in another folder (the relative path from where my sources...
1
by: christian.Blackburn | last post by:
Hi Gang, On my development system I am not getting this error, but it does happen when I upload it to my ISP. Can someone tell me why this is happening? I don't have any user-defined controls...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
9
by: Synapse Syndrome | last post by:
Hi I've been given what I am told is a PHP script to be used on my server. I do not know any PHP. I am trying to use a feature of a program called ArchiCAD. This feauture allows CAD drawing...
6
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.