开发者

VS2010 doesn't auto attach to w3wp.exe

So. I'm using V2010 release on Windows 7. And it doesn't attach automat开发者_StackOverflow社区ically. How can I enable to auto attach?

Thanks in advance.


You can fix this by setting a regestry value to 1.

HKEY_CURRENT_USER
    \Software\Microsoft\VisualStudio\10.0\Debugger\DisableAttachSecurityWarning

as per this link


Make sure you do that with VS2010 unloaded, otherwise the setting gets overwritten upon exit to zero again.


Are you using your local IIS server or the Visual Studio Development Server? if you are using the local IIS server you'll need to open Visual Studio 2010 as administrator to be able to debug and open web projects.


In the web application project properties on the web tab check the "asp.net" in debugger section. It hepls me.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜