[当我尝试在Visual Studio中运行自动化测试时,我似乎收到以下错误。我正在使用的测试提供程序是SpecFlow.NUnit。有人有想法吗?我感到难过...
错误文本:
The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.
The program '[19308] testhost.x86.exe: Program Trace' has exited with code 0 (0x0).
The program '[19308] testhost.x86.exe' has exited with code -2147450730 (0x80008096).
Stefan Zivkovic的评论也帮助了我。我想把这个数字放在一个答案中,给他充分的印象,他的建议也帮助了我。
此外,为了设置您的测试体系结构:“测试”菜单选项卡-> AnyCPU项目的过程体系结构-> x64