Странные исключения при запуске модульного тестирования C++ в Visual Studio 2015
Когда я запускаю простой модульный тест для собственного C++, я получаю много исключений, прежде чем среда тестирования достигает моей точки останова в первой строке модульного теста. Исключения были показаны ниже.
Как их отключить или что делать, чтобы их починить?
Я также вижу, что каждый шаг в отладчике занимает значительное время, как в случае отладки на удаленной машине. Это нормально в случае нативного юнит-тестирования?
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : EEFileLoadException at memory location 0x0628D4D4.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : EEFileLoadException at memory location 0x0628D4D4.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : EEFileLoadException at memory location 0x0628C1B4.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
*** HR originated : -2147024774
* ** Source File : d:\iso_whid\x86fre\base\isolation\com\copyout.cpp, line 1391
* ** HR propagated : -2147024774
* ** Source File : d:\iso_whid\x86fre\base\isolation\com\identityauthority.cpp, line 278
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : EEFileLoadException at memory location 0x0628C28C.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
... A lot of similar lines ...
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : EEFileLoadException at memory location 0x0628BFCC.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : EEFileLoadException at memory location 0x0628BFCC.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : EEFileLoadException at memory location 0x0628BFCC.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
Exception thrown at 0x76BAA6F2 in vstest.executionengine.x86.exe: Microsoft C++ exception : [rethrow] at memory location 0x00000000.
*** HR originated : -2147024774
* ** Source File : d:\iso_whid\x86fre\base\isolation\com\copyout.cpp, line 1391
* ** HR propagated : -2147024774
* ** Source File : d:\iso_whid\x86fre\base\isolation\com\identityauthority.cpp, line 278
* ** HR originated : -2147024774
* ** Source File : d:\iso_whid\x86fre\base\isolation\com\copyout.cpp, line 1391
* ** HR propagated : -2147024774
* ** Source File : d:\iso_whid\x86fre\base\isolation\com\identityauthority.cpp, line 278
Обновление 1:
Он был вызван из clr точно так же, как в информации стека вызовов, показанной ниже (так что наверняка до достижения первой строки в моем модульном тесте).