[英]FileNotFoundException during nunit3-console running
I try to run my tests via nunit3-console. 我尝试通过nunit3-console运行测试。 Running via Visual Studio works good.
通过Visual Studio运行效果很好。 I execute this command:
我执行以下命令:
$ nunit3-console ComplexUI.dll
but get the following input: 但得到以下输入:
NUnit.Engine.NUnitEngineException : An exception occurred in the driver while loading tests.
----> System.IO.FileNotFoundException : ?? ??????? ????????? ???? ??? ?????? "nunit.framework, Version=3.11.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb" ???? ???? ?? ?? ????????????. ?? ??????? ????? ????????? ????.
--NUnitEngineException
An exception occurred in the driver while loading tests.
Symbols ???? 符号???? may be in cause of my locale.
可能是因为我所在的地区。
I have no idea how to resolve it 我不知道如何解决
Anyway, i have found alternative way to run tests. 无论如何,我已经找到了运行测试的替代方法。 I was able to do it by running
dotnet test --no-build
in directory, where solution file ComplexUI.sln
is placed. 我可以通过在安装解决方案文件
ComplexUI.sln
目录中运行dotnet test --no-build
来做到这一点。 It still doesn't working with nunit3-console
. 它仍然不能与
nunit3-console
。 Maybe, it's some issue with current version 也许,这是当前版本的问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.