Visual Studio 2010 Not Debugging .NET 2.0 Code -


Please paste it with me, this is a strange thing.

Since upgrading from VS-2008 to VS-2010, some people (and mine) found that we can not debug any of our breakpoints in our code anymore. Used to be.

Without giving too far, I have written NET apps that we run above the developed custom platform application. These apps have been compiled in .NET 2.0. Debugging usually involves setting up the startup program to debug our platform app's X. and launch it from there.

Interestingly, none of our developers working on Vista / Windows 7 machines - were just Windows 2003 / XP crowds.

About combining Visual Studio 2010, .NET 2.0 and Windows XP, something means that we can not debug anymore in our applications.

I do not know exactly why this problem should only occur in Windows 2003 and XP machines. Can anyone leave any light?

"post-text" itemprop = "text">

I have been able to find a workaround, thanks, the problem is that when code is debugging, which is a native exe , Visual Studio will assume that you are debugging in .NET 4.0. After all, all your .NET 2.0 code will run, but the debugger will not kill any of your breakpoints.

Debugger is set to give a useful signal as .exe.config file on the lines of the directory that you are launching your startup exe from:

  & Lt ;? XML version = "1.0"? & Gt; & Lt; Configuration & gt; & Lt; Startup & gt; & Lt; Supported serial version = "v2.0.50727" /> & Lt; / Startup & gt; & Lt; / Configuration & gt;  

This works as a fix, but does not really answer why it happened in the first place.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -