天天看点

Visual Studio cannot debug managed applications because a kernel debugger is enabled on the system

       下载一个C#代码例子,用Visual Studio 2012 编译时,出现上述错误。

       解决办法记录如下:

  1. 【开始】【运行】中输入msconfig。
  2. 选择【启动】,并进入【高级选项】。
  3. 将全局调试窗口里的调试端口撤销选择即可。