Visual Studio 2017:发生了致命错误,需要终止调试

Mov*_*GP0 11 unit-testing visual-studio-2017

在调试模式下执行单元测试时,我收到以下错误消息:

A fatal error has occurred and debugging needs to be terminated. For more 
details please see the Microsoft Help and Support web site. 
HRESULT=0x8000ffff. ErrorCode=0x0.
Run Code Online (Sandbox Code Playgroud)

Ahm*_*att 16

所以我的步骤来解决这个问题,

1- [预防措施]从黄旗通知或更新Visual Studio 2017更新

Tools >> Extensions & Updates >> Updates >> visual studio marketplace.
Run Code Online (Sandbox Code Playgroud)

2-在测试解决方案中搜索launchsettings.json文件并将其删除.

3-清洁测试溶液.

4-重建项目.

5-煮一杯咖啡;).


Mov*_*GP0 0

解决方案

清洁溶液并重试。有关详细信息,请参阅Visual Studio 论坛。这对我的情况有帮助。