Unable to Start Debugging. visual studio 2012 prom

2019-02-21 07:12发布

I am getting this error "Unable to Start Debugging" in visual studio 2012.

I have also update the remote debugging sp2.

also uninstalled and reinstalled vs2012 and added sp. still facing the same issue.

My operating system is windows-8 64 bit.

Also tried to run in Administrator user still the same.

enter image description here

Unable to Start Debugging. visual studio 2012

8条回答
做自己的国王
2楼-- · 2019-02-21 07:52

Save your work, close Visual Studio then reopen your project

查看更多
戒情不戒烟
3楼-- · 2019-02-21 07:52

Juste got the same today with VS2010. "Unable to start debugging...a dynamic DLL cannot be found". Also while opening this old project an non-build error in the outpout window: "Unable to find assembly <...>.dll in App_Data\Temp".

Solution: target framework was still at version 3, changed to 4 and then it works.

查看更多
趁早两清
4楼-- · 2019-02-21 07:53

There doesn't seem to be an actual question to answer, but maybe this will help somebody. I have the same problem with VS2012 on Windows 8.1, even with Update 4 of Visual Studio and Remote Tools. I can get around it by manually closing IIS Express with the task bar icon between debugs. It is still really annoying, but at least it works, at least most of the time. One time it didn't seem to help and I had to reboot, but after that it was working again.

查看更多
贪生不怕死
5楼-- · 2019-02-21 08:01

In case this was a web solution, I had this problem when in a slightly different scenario, a second more elaborate error message appeared, with the the following reading:

"Unable to start 'solution name'. Either a Web Browser is not installed on this computer or a default browser has not been configured in Microsoft Visual Studio."

And yes, my IE was temporarilly uninstalled, due to other issues. After reinstalling IE, this all worked fine.

查看更多
你好瞎i
6楼-- · 2019-02-21 08:02

Right Click web application properties -> Properties Windows, Use dynamic ports to "False" and give some port number. This solved my problem.

查看更多
可以哭但决不认输i
7楼-- · 2019-02-21 08:18

I had the same problem in my Visual Studio 2013. The solution I found is easy.

Just right-click the project you want to debug, and choose "Set as StartUp Project".

Hope I helped someone.

查看更多
登录 后发表回答