Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将设置 MSBuild 以运行 xUnit.net,如此处所述。
这是有效的。但是当 xUnit 报告错误时,实际错误和发生错误的行/文件在 Visual Studio“错误列表”窗口中被分成两个不同的错误消息。
文件、行和列显示我的项目文件的值,而不是我的单元测试的源文件。双击错误以进行失败的测试不起作用。
这是一个已知问题吗?我找不到这方面的任何信息。我的问题的解决方案将不胜感激。
我对 xUnit 项目做了一个小分支,可以满足你的需求。使用xunitMSBuild 任务。
xunit