TestWindow 폴더 (C : \ Program Files (x86) \ Microsoft Visual Studio 12.0 \ Common7 \ IDE \ CommonExtensions \ Microsoft \ TestWindow)를 Visual Studio가 설치되어 있지 않고 x64 cpp 테스트 dll에서 vstest.console.exe 명령을 실행 해 보았습니다.Visual Studio를 설치하지 않고 vstest.console.exe를 사용하여 C++ unittest 실행
vstest.console.exe tests.dll /tests:testmethod1 /platform:x64 /logger:console
이것은 이벤트 로그에 표시되는 오류입니다.
Application: vstest.discoveryengine.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException Stack: at Microsoft.VisualStudio.TestPlatform.TestRunnerService.DataCollectors.DataCollectionPluginManager..ctor() at Microsoft.VisualStudio.TestPlatform.TestRunnerService.WcfTestRunnerService..ctor(System.Threading.ManualResetEvent) at Microsoft.VisualStudio.TestPlatform.TestRunnerService.TestRunnerServiceHost.CreateServiceHost(System.String, System.Threading.ManualResetEvent) at Microsoft.VisualStudio.TestPlatform.TestRunnerService.ServiceMain.Main(System.String[])