Kev*_*ter 9 unit-testing visual-studio
将Visual Studio 2017更新到15.5后,我无法再调试单元测试(我可以运行测试,我可以调试非测试程序).
我一直得到以下例外情况:
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll
Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.VideoRecorderEngine' or one of its dependencies. The module was expected to contain an assembly manifest.
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll
Could not load file or assembly 'VSTestVideoRecorder' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll
Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.VideoRecorderEngine' or one of its dependencies. The module was expected to contain an assembly manifest.
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll
Could not load file or assembly 'VSTestVideoRecorder' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Exception thrown: 'System.ArgumentException' in System.dll
FrameworkName cannot have less than two components or more than three components.
Run Code Online (Sandbox Code Playgroud)
我已经确认每个项目都使用相同的编译器设置(7+ w /次要版本),并且都是针对.Net 4.7.除了将VS更新到15.5之外,有些文件中的代码根本没有改变.
我没有找到任何有关这些例外或如何解决它们的帮助.这看起来似乎是由VS更新引起的.
有任何想法吗?重新安装VS是唯一的解决方案吗?
归档时间: |
|
查看次数: |
664 次 |
最近记录: |