Error reporting in Visual Studio for MSBuild running xUnit.net
I am about to set up MSBuild to run xUnit.net as described here.
This is working. But when xUnit reports an error, the actual error and t开发者_开发知识库he line/file in which the error occurs are seperated into two different error messages in the Visual Studio "Error List"-window.
The file, line and column show the values of my project file instead of the source file of my unit test. Double clicking on the error to get to the failed test is not working.
Is this a known problem? I couldn't find any information on this. A solution for my problem would be appreciated.
I've made a minor fork to the xUnit project that does what you want. Use the xunit
MSBuild task.
精彩评论