I have a relatively simple C# (Framework 4) console application. When I click the "Play" icon or hit F5 (i.e. start the program in debug mode), the icon becomes gray for a second, then goes back to green, but nothing happens. If I wait 2 or 3 minutes and try again, the debug session starts up normally, breakpoints are hit and everything.
我尝试过但没有成功的事情:
- 清理解决方案,然后重建。
- 重命名输出组件。
- 重新启动 Visual Studio。
唯一有效的就是等待。我没有看到任何相关进程在这 2-3 分钟内仍在运行(svchost、conhost、*.vshost 或 cmd)。
尝试这个:
打开任务管理器,转到进程选项卡并查找以您的应用程序命名的进程。如果它在那里,就杀死那个混蛋并再次尝试调试。对我来说这就像奇迹一样
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)