我正在研究selenium网络驱动程序项目.我能够构建测试Test Explorer并执行.
在重建解决方案时,我立即遇到以下错误.
Unit Adapter 3.2.0.0: Test discovery starting
NUnit VS Adapter 2.0.0.0 discovering tests is started
NUnit Adapter 3.2.0.0: Test discovery starting
NUnit VS Adapter 2.0.0.0 discovering tests is started
Attempt to load assembly with unsupported test framework in C:\..\CustomerTest.exe
NUnit VS Adapter 2.0.0.0 discovering test is finished
Attempt to load assembly with unsupported test framework in C:\..\LoginTest.exe
NUnit VS Adapter 2.0.0.0 discovering test is finished
Exception NUnit.Engine.NUnitEngineException, Exception thrown discovering tests in C:\..\CustomerTest.exe
Cannot run tests in process - a 32 bit process is required.
NUnit Adapter 3.2.0.0: Test discovery complete
Exception NUnit.Engine.NUnitEngineException, Exception thrown discovering tests in C:\..\LoginTest.exe
Cannot run tests in process - a 32 bit process is required.
NUnit Adapter 3.2.0.0: Test discovery complete
========== Discover test finished: 0 found (0:00:02.5558095) ==========
Run Code Online (Sandbox Code Playgroud)
我已将默认处理器体系结构更改为X64,但问题未解决.
请帮我解决这个问题.
谢谢.
小智 6
我出现这个问题只是因为一些奇怪的原因,因为在此期间我没有改变任何东西而且之前有效.
修复它:Project-> [YourProjectName] .properties - > Build - > Platform target:"Any CPU" - > Untick"Prefer 32-Bit"
| 归档时间: |
|
| 查看次数: |
5503 次 |
| 最近记录: |