"The source code is different from the original version."<p>I just started having problems debugging my multi-project C# solution in VS 2005 (Windows Forms with a couple class libraries). When I put a breakpoint on a method header and hit debug, the breakpoint gets hollowed out and a yellow exclamation point is added. The tooltip explains:</p> <p>&quot;The breakpoint will not currently be hit. The source code is different from the original version.&quot;</p> <p>While not debugging, I noticed that the tooltip for the breakpoint shows a 12 line difference:</p> <p>&quot;At MyClass.cs line, 48 ('MyNamespace.MyClass', line 36).&quot;</p> <p>Now, if I put a breakpoint thats not on a method header, it <em>appears</em> to work just fine. It breaks at the correct location and I'm able to step through the code line by line. I don't have any weird situations such as &quot;stepping&quot; through blank lines of code that would usually accompany a mismatch between source code and debugger files. However, when I get to a certain line in my code, it crashes. The line?</p> <p>myButton.Enabled = false;</p> <p>The error? An IndexOutOfRange exception.</p> <p>So it appears that even though I'm stepping through my source code, it's getting muddled up somewhere.</p> <p>I've tried deleting all /bin and /obj folders, and I have rebuilt the entire solution half a dozen times. Still the same problem. There was another thread on this forum with this same problem, and the solution was to uncheck the &quot;Require source code to match up exactly...&quot; option in the Debugger options. I've tried that and it still doesn't work (doesn't break).</p> <p>Are there some temporary files I need to clear?</p> <p>Thanks,<br>Johann MacDonagh</p>© 2009 Microsoft Corporation. All rights reserved.Thu, 01 Oct 2009 02:59:16 Z2fd70297-f079-493f-847c-f89198e4eb58http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#2fd70297-f079-493f-847c-f89198e4eb58http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#2fd70297-f079-493f-847c-f89198e4eb58Johann MacDonaghhttp://social.msdn.microsoft.com/Profile/en-US/?user=Johann%20MacDonagh"The source code is different from the original version."<p>I just started having problems debugging my multi-project C# solution in VS 2005 (Windows Forms with a couple class libraries). When I put a breakpoint on a method header and hit debug, the breakpoint gets hollowed out and a yellow exclamation point is added. The tooltip explains:</p> <p>&quot;The breakpoint will not currently be hit. The source code is different from the original version.&quot;</p> <p>While not debugging, I noticed that the tooltip for the breakpoint shows a 12 line difference:</p> <p>&quot;At MyClass.cs line, 48 ('MyNamespace.MyClass', line 36).&quot;</p> <p>Now, if I put a breakpoint thats not on a method header, it <em>appears</em> to work just fine. It breaks at the correct location and I'm able to step through the code line by line. I don't have any weird situations such as &quot;stepping&quot; through blank lines of code that would usually accompany a mismatch between source code and debugger files. However, when I get to a certain line in my code, it crashes. The line?</p> <p>myButton.Enabled = false;</p> <p>The error? An IndexOutOfRange exception.</p> <p>So it appears that even though I'm stepping through my source code, it's getting muddled up somewhere.</p> <p>I've tried deleting all /bin and /obj folders, and I have rebuilt the entire solution half a dozen times. Still the same problem. There was another thread on this forum with this same problem, and the solution was to uncheck the &quot;Require source code to match up exactly...&quot; option in the Debugger options. I've tried that and it still doesn't work (doesn't break).</p> <p>Are there some temporary files I need to clear?</p> <p>Thanks,<br>Johann MacDonagh</p>Mon, 10 Jul 2006 22:00:54 Z2007-08-13T16:06:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#3bd95c83-4afd-4c39-9e21-90132e15e7a2http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#3bd95c83-4afd-4c39-9e21-90132e15e7a2cgraushttp://social.msdn.microsoft.com/Profile/en-US/?user=cgraus"The source code is different from the original version."<p>That error means that your build actually failed, but it started to debug the last successful build.  At least, that's what it means when I see it.</p> <p> </p>Mon, 10 Jul 2006 22:08:41 Z2006-07-10T22:08:41Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#e6a99b8a-083e-4954-9cd5-c1d2383ea9e3http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#e6a99b8a-083e-4954-9cd5-c1d2383ea9e3Johann MacDonaghhttp://social.msdn.microsoft.com/Profile/en-US/?user=Johann%20MacDonagh"The source code is different from the original version."<p>Thanks for the reply.</p> <p>I'm able to expliticly hit &quot;Rebuild&quot; on each project and they all succeed. Could there still be some strange build error?</p>Mon, 10 Jul 2006 22:10:20 Z2006-07-10T22:10:20Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#37a0e033-2000-4d4d-9573-f317bc05a7a1http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#37a0e033-2000-4d4d-9573-f317bc05a7a1cgraushttp://social.msdn.microsoft.com/Profile/en-US/?user=cgraus"The source code is different from the original version."<p>No, if the builds all succeed, then they have succeeded.  In my case, I just look at the error list nad there are errors there.</p> <p> </p>Mon, 10 Jul 2006 22:11:43 Z2006-07-10T22:11:43Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#f0198909-3a12-482a-9523-07699612f15ehttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#f0198909-3a12-482a-9523-07699612f15eJohann MacDonaghhttp://social.msdn.microsoft.com/Profile/en-US/?user=Johann%20MacDonagh"The source code is different from the original version."Yeah, unfortuantly I'm not seeing any errors at all. I may just roll back the changes I've made and get the latest working copy from the source control and redo my work.Mon, 10 Jul 2006 22:14:06 Z2006-07-10T22:14:06Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#d07a39cd-d721-4dcf-a8da-732c3c5da90bhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#d07a39cd-d721-4dcf-a8da-732c3c5da90bRagnarSunhttp://social.msdn.microsoft.com/Profile/en-US/?user=RagnarSun"The source code is different from the original version."<p>I had the same problem and found that you have run the command </p> <p>Biuld-&gt;clean solution </p> <p>and </p> <p>Biuld -&gt; clean (name of the proyect)</p> <p>in the Biuld menu. the command clean all the resource and exe, dll, etc from the</p> <p>head of the proyect netx you need rebuild your aplication</p> <p> </p> <p>sorry for my bad english</p>Wed, 02 Aug 2006 02:45:26 Z2006-08-02T02:45:26Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#80c62391-7bda-48c8-9ab3-131596d7cf75http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#80c62391-7bda-48c8-9ab3-131596d7cf75Complexity101http://social.msdn.microsoft.com/Profile/en-US/?user=Complexity101"The source code is different from the original version."<p>I just came across this error but Visual Studio Express C# edition didn't have the:  Build--&gt;Clean option.  </p> <p>For those using XNA stuff...make sure that your CPU is set correctly.  When I explicitly set it to X86...everything worked fine.</p>Thu, 01 Feb 2007 23:33:32 Z2007-02-01T23:33:32Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#3fb0b44d-947b-4a0f-a615-5cd46f096ccfhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#3fb0b44d-947b-4a0f-a615-5cd46f096ccfStolatzhttp://social.msdn.microsoft.com/Profile/en-US/?user=Stolatz"The source code is different from the original version."<p>I was just having the same problem using VB in VS 2005.  I'm thinking it's a bug in Visual Studio.  Everytime I tried to debug my code it would appear to compile but the results were from a previously compiled solution.  When I tried to debug to find out why old code was being executed I got that &quot;The source code is different from the original version&quot; message.  After I commented out the new code, it would build the new solution.  Then I just uncommented the code and it worked again.  Very strange.   It must be a bug because this is the code it appeared to have a problem with:</p> <p><font size=4>rtb.Text = <font color="#0000ff">Date</font>.Now</font></p> <p>go figure...</p> <p>Although I didn't try it, another solution might be to delete the files in the /bin/debug folder or where you have your debug files set to build to.</p> <p><font size=4></font> </p> <p><font size=4> </p></font>Wed, 28 Feb 2007 15:31:59 Z2007-02-28T15:31:59Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#a959571f-19e2-4d36-a1a9-79a9d12100b5http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#a959571f-19e2-4d36-a1a9-79a9d12100b5rchiodo - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=rchiodo%20-%20MSFT"The source code is different from the original version."Are any of the class libraries you are using Gaced? If the source code is from a gaced assembly, you have to update the gac after building in order for the dll to match.Wed, 28 Feb 2007 19:24:41 Z2007-02-28T19:24:41Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#fa6c8018-3b98-456b-b6a1-1385146f3154http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#fa6c8018-3b98-456b-b6a1-1385146f3154Rory Appersonhttp://social.msdn.microsoft.com/Profile/en-US/?user=Rory%20Apperson"The source code is different from the original version."Did you happen to move some folders in your solution directory?  This happened to me as a result of &quot;re-organizing&quot; my solution directory which had a number of project folders.  I guess one project that had a reference to a class library (another project in the solution) lost its mapping when I moved it so it re-mapped the reference to the copy of the dll in its own bin directory instead of the one in the dll's project directory.  Basically, to fix the problem, I removed the reference to the other project and re-added it.<br>Wed, 04 Apr 2007 13:31:48 Z2007-04-04T13:31:48Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#ad57fec8-949a-461f-b83b-a3a9d6478003http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#ad57fec8-949a-461f-b83b-a3a9d6478003NOLA101http://social.msdn.microsoft.com/Profile/en-US/?user=NOLA101"The source code is different from the original version."<p>Hey Guys,</p> <p> </p> <p>I had a very similar issue,</p> <p> </p> <p>I did nothing out of the ordinary just changed some code and all of a sudden it wouldn't build my new changes.</p> <p> </p> <p>What was really alarming was my changes were full of errors as I had copied the code from somewhere else in my project and when I built the project it would say build succeeded. </p> <p> </p> <p>I also noticed that project would build lighting fast indicating that it wasn't building at all.</p> <p> </p> <p>What worked for me was running the code analysis utility under <strong>Build\Run Code Anaylsis on [Your Project Name]</strong></p> <p> </p> <p>I'm not sure if this utililty is in the express edition</p> <p> </p> <p>Hope this helps</p>Mon, 23 Jul 2007 01:37:36 Z2007-08-13T16:06:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#b0b461db-b26d-4080-8629-308a5ddb2454http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#b0b461db-b26d-4080-8629-308a5ddb2454Kombikhttp://social.msdn.microsoft.com/Profile/en-US/?user=Kombik"The source code is different from the original version."I had similiar problem. I solved it by deleting obj\Debug and obj\Release content and *.csproj.FileList.txt file. Don't forget to backup your solution earlier <img alt=Smile src="http://forums.microsoft.com/MSDN/emoticons/emotion-1.gif"><br><br>Edit: I am working in VC#2005 EE<br>Thu, 11 Oct 2007 09:47:13 Z2007-10-11T09:47:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#2bab92eb-4d36-44e2-b732-a7e47f277b9fhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#2bab92eb-4d36-44e2-b732-a7e47f277b9fPhilip L. N_http://social.msdn.microsoft.com/Profile/en-US/?user=Philip%20L.%20N_"The source code is different from the original version."<p>Hi,</p> <p align=left> </p> <p>&quot;At MyClass.cs line, 48 ('MyNamespace.MyClass', line 36).&quot; is the key. You might have 2 identical names.</p> <p align=left>Try renaming one of your source-files, and see if it helps.</p> <p align=left> </p> <p align=left>/Philip L. Nielsen</p> <p align=left><font face=Arial size=2></font> </p>Thu, 08 Nov 2007 11:00:05 Z2007-11-08T11:00:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#35181147-bf1d-4697-bea5-cdf6d6ce5c36http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#35181147-bf1d-4697-bea5-cdf6d6ce5c36Santuariohttp://social.msdn.microsoft.com/Profile/en-US/?user=Santuario"The source code is different from the original version."<p align=left><font face=Arial size=2>Just do the method that Ragnarsun said.</font></p> <p align=left> </p> <p align=left>Go to Build -----&gt; Clean [Project name]</p> <p> </p> <p align=left>And that is all.</p>Tue, 13 Nov 2007 23:15:26 Z2007-11-13T23:15:26Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#2de26f98-3bc1-499a-bf1c-dee32c1e5811http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#2de26f98-3bc1-499a-bf1c-dee32c1e5811Ulan Sametovhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ulan%20Sametov"The source code is different from the original version."my solution was to replace 'CodeBehind' page directive with the new 'CodeFile' directive.<br>After I replaced that I was able to use Intellisense to set the path to the source file.<br>For some reason, VS 2005 uses 'CodeBehind' page directive by default when it generates the markup page<img alt=Sad src="http://forums.microsoft.com/MSDN/emoticons/emotion-6.gif"><br><br>Tue, 20 Nov 2007 20:08:53 Z2007-11-20T20:08:53Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#2a1c88d1-fe4d-4f96-a31b-e4a7bc34d378http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#2a1c88d1-fe4d-4f96-a31b-e4a7bc34d378LOSTloverhttp://social.msdn.microsoft.com/Profile/en-US/?user=LOSTlover"The source code is different from the original version."This just happened to me while writing an asp.net application in VS2005.<br><br>The solution for me was to make a simple change to my web.config file.  The code analysis didn't work, nothing else worked.  I updated the web.config, rebuilt the project, and it actually rebuilt instead of the &quot;lightning-fast&quot; build, and now it's hitting the breakpoints.<br><br>I've had a similar issue before when updating code on a precompiled site.  For some reason IIS will sometimes not refresh its cached reference to the precompiled .dll of your code.  So if you just copy over a new precompiled version of your site, IIS will look for the cached name of your precompiled assembly and when it's not there, you get a cryptic error.  Our solution again was to always make an update to the web.config.  If any change is made to this file, IIS will always detect it and refresh its cache.<br><br>I would image there is a similar issue on Windows forms apps, but I'm more familiar with asp.net apps.<br>Thu, 29 Nov 2007 22:53:08 Z2007-11-29T22:53:08Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#eee525d9-aeb2-43c8-a958-ab45277e1fb4http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#eee525d9-aeb2-43c8-a958-ab45277e1fb4parul batrahttp://social.msdn.microsoft.com/Profile/en-US/?user=parul%20batra"The source code is different from the original version."<p align=left><font face=Arial size=2>Hello </font></p> <p align=left>I tried deleting the obj/debug and obj/release folder and it worked..The rebuilded code works and break points set do not </p> <p align=left>give any error message. Thanks for the help.</p> <p align=left> </p> <p align=left> </p> <p align=left> </p>Sat, 02 Feb 2008 07:26:54 Z2008-02-02T07:26:54Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#368ed913-e4d5-4a5c-945c-ec020200dd28http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#368ed913-e4d5-4a5c-945c-ec020200dd28Chris Snymanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Chris%20Snyman"The source code is different from the original version."<p align=left><font face=Arial size=2></font> </p> <p>I had the same problem, but the reason was that while coding, i changed my date back by 2 months to test stuff and then whatever code changes i made was probably seen as an older file being chucked in somehow and was then ignored by V.Studio.</p> <p align=left>(Was using C# Express 2005)</p>Tue, 01 Apr 2008 08:00:16 Z2008-04-01T08:00:16Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#09cc064e-4f39-4ddc-9339-4a9b89560d87http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#09cc064e-4f39-4ddc-9339-4a9b89560d87Steve Briskihttp://social.msdn.microsoft.com/Profile/en-US/?user=Steve%20Briski"The source code is different from the original version." I had the same error and my problem was that not all projects were being rebuilt.  Check out the Build, Configuration Manager menu item and verify that either all projects are being rebuilt or at least the projects that have been changed.Wed, 11 Jun 2008 19:40:26 Z2008-06-11T19:40:26Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#41e3d393-dcec-4995-b8b1-966d7aa061echttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#41e3d393-dcec-4995-b8b1-966d7aa061ecAmoorahttp://social.msdn.microsoft.com/Profile/en-US/?user=Amoora"The source code is different from the original version." I am using VS.Net 2008 and I am facing the same Problem &quot;source code is different from original version&quot; and I am not able to debug my project...<br><br>I did not find the <strong>code analysis utility</strong> under Build so Could you please help me ...<br><br>Thanks in Advance...<hr class="sig">amr sinanFri, 19 Dec 2008 07:38:43 Z2008-12-19T07:38:43Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#ceea097c-211c-4914-ae8d-2d4e824e87d5http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#ceea097c-211c-4914-ae8d-2d4e824e87d5metsuhttp://social.msdn.microsoft.com/Profile/en-US/?user=metsu"The source code is different from the original version."<p>older code is being loaded at runtime.</p> <p>this issue happened to me because i forgot to set the output directory back to my main output folder for a sub project (it was building to its own /bin)</p> <p>my main project was loading an outdated assembly.</p>Wed, 28 Jan 2009 17:03:51 Z2009-01-28T17:03:51Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#7d96d7ae-bc9a-43e1-ad94-fb28e9d7c6c3http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#7d96d7ae-bc9a-43e1-ad94-fb28e9d7c6c3phoenix11http://social.msdn.microsoft.com/Profile/en-US/?user=phoenix11"The source code is different from the original version."For me, the solution to this issue was to make sure that &quot;Enable Optimizations&quot; was unchecked in Project Properties-&gt;Compile-&gt;Advanced Compile Options...<br><br>A better error description would have been appreciated - VS had no business telling me the source code was different when it clearly wasn't.<br> Tue, 03 Mar 2009 13:59:41 Z2009-03-03T13:59:41Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#00fc63a6-74a9-48ce-bebe-5b0bfbb4fafbhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#00fc63a6-74a9-48ce-bebe-5b0bfbb4fafbPer Hultqvisthttp://social.msdn.microsoft.com/Profile/en-US/?user=Per%20Hultqvist"The source code is different from the original version."I tried the following, but none of them worked in my case :<br/> <br/> * restart the computer<br/> * clean build<br/> * rebuild solution<br/> * empty temporary asp.net folder<br/> * ...and more...<br/> <br/> The final thing that solved the problem for me was to go to IIS manager and delete the site, then go to the applications properties in VS and under the web-tab click Create Virtual Folder...Finally I can debug. Maybe in VS 2018 web-developing will finally be as easy as windows developing. I HATE developing web-apps....Wed, 01 Jul 2009 09:21:56 Z2009-07-01T09:21:56Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#0f4ba235-4a3f-4aa5-87ae-a131e1967922http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#0f4ba235-4a3f-4aa5-87ae-a131e1967922Per Hultqvisthttp://social.msdn.microsoft.com/Profile/en-US/?user=Per%20Hultqvist"The source code is different from the original version."...and now it stopped working again, can't I be allowed to be happy for more than couple of minutes!!! Now I really hate web developing...Wed, 01 Jul 2009 09:33:24 Z2009-07-01T09:33:24Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#e68cfe4c-6ebf-41fa-bcfc-b069b6546e61http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#e68cfe4c-6ebf-41fa-bcfc-b069b6546e61Jonathan Rajottehttp://social.msdn.microsoft.com/Profile/en-US/?user=Jonathan%20Rajotte"The source code is different from the original version."Using Visual Studio 2008, I encountered the same problem. <br/><br/>In my case, I had created a new Solution Platform (x86), and changed my active Solution Platform to this new one.  After that, I was not able to debug anymore.  What I had to do was to revert back to the old Solution Platform (Any CPU), go in Debug mode (right there, the breakpoints were hit), stop debugging, change the Solution Platform to x86, and that's it, I was now able to debug normally.<br/><br/>Mon, 20 Jul 2009 17:08:51 Z2009-07-20T17:08:51Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#8fb1236e-736d-43dc-b59a-806d29adfea4http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#8fb1236e-736d-43dc-b59a-806d29adfea4Jonathan Rajottehttp://social.msdn.microsoft.com/Profile/en-US/?user=Jonathan%20Rajotte"The source code is different from the original version."Seems like that is not a permanent solution. After a change, I am back to the same issue.  While the trick of switching Solution Platforms still works, there must be something else to do...Mon, 20 Jul 2009 17:14:59 Z2009-07-20T17:14:59Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#55d2b17d-1934-41c1-93bb-92808c8e4223http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#55d2b17d-1934-41c1-93bb-92808c8e4223cheblin2http://social.msdn.microsoft.com/Profile/en-US/?user=cheblin2"The source code is different from the original version."i have fix it easy.<br/> right click solution &gt; properties&gt; configuration and check that field  &quot;<strong>build</strong> &quot; is checked for all entities.Wed, 16 Sep 2009 04:14:03 Z2009-09-16T04:14:03Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#67d94b32-3123-417a-95a9-8858bd8e8203http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#67d94b32-3123-417a-95a9-8858bd8e8203MSearleshttp://social.msdn.microsoft.com/Profile/en-US/?user=MSearles"The source code is different from the original version."Deleting \obj\Release + \obj\Debug and the SolutionName.suo file then reopening the solution did the trick for me.Fri, 25 Sep 2009 01:36:54 Z2009-09-25T01:36:54Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#e32cd575-3aa7-44c1-9f7d-cc36f821ceechttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2fd70297-f079-493f-847c-f89198e4eb58#e32cd575-3aa7-44c1-9f7d-cc36f821ceecstumithttp://social.msdn.microsoft.com/Profile/en-US/?user=stumit"The source code is different from the original version."<p>If you have two projects with the same base output names, such as proj.exe and proj.dll and you are using a shared output dir - $(SolutionDir)\$(ConfigurationName) then both projects will try to create proj.ilk. Same issue happens with proj.pdb. <br/><br/>If this is your scenario, explicitly set intermediate and debugging file names.</p>Thu, 01 Oct 2009 02:59:15 Z2009-10-01T02:59:48Z