Debugger调试器无法启动 the debugger is not properly installed

来源:互联网 发布:土鳖不土战斗力五 知乎 编辑:程序博客网 时间:2024/04/30 05:58

转自:http://hi.baidu.com/am2world/blog/item/c4bc9b72f61fe8138601b04a.html

现象:Error while trying to run project:unable to start debugging.the debugger is not properly installed. run setup to install or repair the debugger。

Solution 1: Run the Visual Studio .NET Add / Remove feature from "Control Panel > Add or Remove Programs", by selecting the correct version of Visual Studio and clicking on "Change/Repair" button. In my case this solution did not fix the problem.

Solution 2: Reinstall .NET Framework debugging services.

  • Open command prompt
  • Type "cd /d %windir%/Microsoft.NET/Framework/"
  • regsvr32.exe mscordbi.dll

Unfortunately, this solution did not fix my problem either.

Solution 3: Manually register mdm.exe.

  • Open command prompt
  • Type "%CommonProgramFiles%/Microsoft Shared/VS7Debug/mdm.exe" /regserver

This solution did not work for me either.