我有一个试图从 Hudson CI 运行的 msbuild 文件。它像这样输出
"C:\Program Files\Gubka Bob\PartCover .NET 2\PartCover.exe" --target "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe" --target-args "/noisolation " "/testcontainer:C:\CI\Hudson\jobs\Video Raffle\workspace\Source\VideoRaffleCaller\Source\VideoRaffleCaller.Test.Unit\bin\Debug\VideoRaffleCaller.Test.Unit.dll" --include "[VideoRaffleCaller* ]*" --输出 "Coverage\partcover.xml"
我收到这个错误
无效的开关“raffle\workspace\source\videorafflecaller\source\videorafflecall er.test.unit\bin\debug\videorafflecaller.test.unit.dll”。对于开关语法,键入“MSTest /help”
怎么回事?看起来 PartCover 不能很好地处理 --target-args 中的空格。还是我在某处遗漏了一些引号?有没有人喜欢工作?