我已經使用社區TFS構建擴展爲我在TFS 2010中的構建模板添加NUnit測試支持。我創建了我的構建定義,並且我的項目正在構建好。它也顯示我的NUnit測試正在完成,但是當它試圖將* .trx測試結果文件發佈到TFS時,我收到「File Not Found」錯誤?我似乎無法確定它出錯的地方,以及在哪裏做出任何改變。下面的錯誤是:含有NUnit的在TFS 2010中運行NUnit測試,測試運行但獲取錯誤發佈結果
查找文件的測試
NUnit Running C:\Program Files (x86)\NUnit 2.6.2\bin unit-console.exe /nologo "C:\Builds\1\gd_Chinook\ChinookEF_5_Build_Definition\Binaries\tcg.Chinook.Test.dll" /xml="C:\Builds\1\gd_Chinook\ChinookEF_5_Build_Definition\Binaries\outputxmlfile.xml" /out="outputfile.txt" Processing C:\Builds\1\gd_Chinook\ChinookEF_5_Build_Definition\Binaries\outputxmlfile.xml Running %VS110COMNTOOLS%..\IDE\MSTest.exe /publish:"link to our TFS build removed StackOverflow" /publishresultsfile:"C:\Builds\1\gd_Chinook\ChinookEF_5_Build_Definition\Binaries\outputxmlfile.trx" /publishbuild:"ChinookEF_5_Build_Definition_20130515.9" /teamproject:"gd_Chinook" /platform:"Any CPU" /flavor:"Debug" Error: The system cannot find the file specified. Stack Trace: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at TfsBuildExtensions.Activities.CodeQuality.NUnit.RunProcess(String fullPath, String workingDirectory, String arguments) at TfsBuildExtensions.Activities.CodeQuality.NUnit.PublishMSTestResults(String resultTrxFile, String collectionUrl, String buildNumber, String teamProject, String platform, String flavor) at TfsBuildExtensions.Activities.CodeQuality.NUnit.PublishTestResultsToTFS(ActivityContext context, String folder) at TfsBuildExtensions.Activities.BaseCodeActivity.Execute(CodeActivityContext context).
Associate Changesets and Work Items Analyzing labels ChinookEF_5_Build_Definition_20130515.6 and ChinookEF_5_Build_Definition_20130515.9. The system cannot find the file specified
任何幫助或建議將如果任何人有這個問題之前將不勝感激。
Stephen