我从 MSBuild 收到错误消息:
"nunit-console.exe" exited with code -100.
哪里可以找到 NUnit 控制台退出代码的含义?
最佳答案
错误代码-100
代表UNEXPECTED_ERROR
static ConsoleUi()
{
OK = 0;
INVALID_ARG = -1;
FILE_NOT_FOUND = -2;
FIXTURE_NOT_FOUND = -3;
TRANSFORM_ERROR = -4;
UNEXPECTED_ERROR = -100;
}
编辑: 更多信息来自a thread on the NUnit-Discuss google group :
Additionally, positive values give a count of failed tests in the run.
The -100 return code is a catch-all, usually indicating an unhandled exception in your application or test. It should normally come with a stack trace.
关于msbuild - 在哪里可以找到 NUnit 控制台退出代码的含义?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3889577/