因为目前 DNX 缺少 XSLT 的转换能力,所以只能使用变通方法。具体参考这个连接git
主要内容复制过来是:github
From @eriklarko on July 14, 2015 7:38app
As a workaround we downloaded the NUnitXml.xslt from https://github.com/xunit/xunit/blob/master/src/xunit.console/NUnitXml.xslt and used xsltproc to apply the >tranformation as a build step.ui
Example:orm
$ dnx . xunit.runner.dnx -xml xunit-test-results.xml
$ xsltproc NUnitXml.xslt xunit-test-results.xml > nunit-test-results.xmlxml