在哪里可以找到 NUnit 控制台退出代码的含义?
我从 MSBuild 收到错误消息:
“nunit-console.exe”退出,代码为 -100。
在哪里可以找到 NUnit 控制台退出代码的含义?
I am getting error message from my MSBuild:
"nunit-console.exe" exited with code -100.
Where can the meaning of the NUnit console exit codes be found?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
错误代码-100
代表UNEXPECTED_ERROR
编辑:
来自NUnit-Discuss google 群组上的帖子< /a>:
Error code -100
stands forUNEXPECTED_ERROR
EDIT:
Additional information from a thread on the NUnit-Discuss google group:
NUnit v3 的一个小更新,
TRANSFORM_ERROR
代码似乎已被删除。完整列表现在如下:
其源当前位于 这里。
更新:五年过去了,我们终于 记录这些。万岁!
A minor update as of NUnit v3, the
TRANSFORM_ERROR
code appears to have been removed.The full list now stands as:
The source for this is currently located here.
UPDATE: Five years on, we finally documented these. Hooray!
对于那些在 OP 发布多年后看到这一点的人来说,这些价值观已经发生了一次又一次的改变。在 3.8 中,有一个 -5 Unload Exception,它确实很容易捕获(当 NUnit 遇到卸载程序集的问题时)。 3.10 中似乎-5 消失了。也许程序集卸载问题不再出现。
For those looking at this a number of years after the OP, these values have changed and changed again. In 3.8, there is a -5 Unload Exception, which is really handy to trap (when NUnit encounters a problem Unloading the assemblies). It seems that -5 is gone in 3.10. Perhaps the assembly Unload problem no longer occurs.