TFS构建报告错误

时间:2015-07-01 16:19:15

标签: .net tfs msbuild

我的TFS版本正在部署,但我收到错误并且构建失败的google不会返回太多,所以我祈祷别人之前见过这个。

我收到的错误如下:

Error: Could not find a part of the path 'C:\Windows\system32\#\10151\drop\BuildReport.txt'.. Stack Trace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append)
   at TfsBuildExtensions.Activities.TeamFoundationServer.BuildReport.WriteToFile(String line, Int32 linebreaks) in c:\code\teambuild2010contrib\CustomActivities\MAIN\Source\Activities\TeamFoundationServer\BuildReport\BuildReport.cs:line 528
   at TfsBuildExtensions.Activities.TeamFoundationServer.BuildReport.GenerateTextReport() in c:\code\teambuild2010contrib\CustomActivities\MAIN\Source\Activities\TeamFoundationServer\BuildReport\BuildReport.cs:line 448
   at TfsBuildExtensions.Activities.TeamFoundationServer.BuildReport.GenerateReport() in c:\code\teambuild2010contrib\CustomActivities\MAIN\Source\Activities\TeamFoundationServer\BuildReport\BuildReport.cs:line 337
   at TfsBuildExtensions.Activities.BaseCodeActivity.Execute(CodeActivityContext context) in c:\code\teambuild2010contrib\CustomActivities\MAIN\Source\Common\BaseCodeActivity.cs:line 66. 
 Exception Message: Could not find a part of the path 'C:\Windows\system32\#\10151\drop\BuildReport.txt'. (type DirectoryNotFoundException)
Exception Stack Trace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append)
   at TfsBuildExtensions.Activities.TeamFoundationServer.BuildReport.WriteToFile(String line, Int32 linebreaks) in c:\code\teambuild2010contrib\CustomActivities\MAIN\Source\Activities\TeamFoundationServer\BuildReport\BuildReport.cs:line 528
   at TfsBuildExtensions.Activities.TeamFoundationServer.BuildReport.GenerateTextReport() in c:\code\teambuild2010contrib\CustomActivities\MAIN\Source\Activities\TeamFoundationServer\BuildReport\BuildReport.cs:line 448
   at TfsBuildExtensions.Activities.TeamFoundationServer.BuildReport.GenerateReport() in c:\code\teambuild2010contrib\CustomActivities\MAIN\Source\Activities\TeamFoundationServer\BuildReport\BuildReport.cs:line 337
   at TfsBuildExtensions.Activities.BaseCodeActivity.Execute(CodeActivityContext context) in c:\code\teambuild2010contrib\CustomActivities\MAIN\Source\Common\BaseCodeActivity.cs:line 90
   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

0 个答案:

没有答案