开发者

Error while trying to run project: Unable to start debugging

I get the error below when trying to debug an Any CPU console app. When I switch the Platform target to x86, it works fine. I've tried to repair VS2010 and reinstall VS2010.

Does anybody have a solution except for a co开发者_运维百科mplete windows re-install?


This worked for me:

SOLUTION: Had to check "Use Managed Compatibility Mode" in Tools|Options|Debugging|General. Debugger is working now.

From Microsoft Connect


It functions now, even though I don't do anything special lately to fix it. Maybe it was a mix of http://www.hagrin.com/326/fixing-components-64-bit-debugger-are-not-registered-error, a couple of Windows Updates, reboots and cups of coffee!


I got the same error when we changed our domain and I had to create a new user profile. Delete the .suo file of your solution, then open it again.


I try to debug an project from VS2012Professional. But I have below error.


Error while trying to run project: Unable to start program 'D:.....exe' An error occurred that usually indicates a corrupt installation (code 0x8007007e). If the problem pesists, repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel.


In my case, my .NET Framework was corrupted. So, I restore .NET Framework 4.5.1 ( the latest version in my PC) from "Add/Remove Program"(Windows+R -> appwiz.cpl)


I am also getting the same error as " Error while trying to run project: Unable to start debugging ....."
I am using Visual Studio 2015 if you are also using Visual Studio 2015 then goto below path and change the authentication settings to allow any user to debug (no Authentication) it's resolved my issue:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Remote Debugger\x64

Error while trying to run project: Unable to start debugging


"Use Managed Compatibility Mode" + Run Visual Studio as ADMIN helped me


just go to project settings find debug tab and then uncheck the "Enable the visual studio hosting process". My problem solved by doing this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜