簡體   English   中英

在 TFS2013 上構建失敗並出現工作區權限錯誤

[英]Build failing on TFS2013 witht the workspace permissions error

我們已經驗證了解決方案文件是否存在於文件夾中,並且它已映射到本地工作區。

構建目錄上的源設置設置如下。 在設置構建代理文件夾時也有混淆。 推薦了幾個博客,但沒有任何效果。

Source control folder
$/ABC Project/CAP/Spon/SponGroupP/Sponsor                         
Build agent folder
$(SourceDir)

Other Errors and Warnings
2 error(s), 0 warning(s)
 **No matching items found in $/ABC Project/CAP/Spon/SponGroupP/Sponsor in your workspace, or you do not have permission to access them.**
 Exception Message: One or more errors occurred while attempting to create a Label. (type LabelException)Exception Stack Trace:    at System.Activities.Statements.Throw.Execute(CodeActivityContext context)   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

有人可以幫我解決這個問題嗎?

更新:

您的文件路徑太長,您的文件夾結構中有兩個贊助商。 此外,嘗試調整 TFS 服務器中的源代碼控制路徑,這可能會奏效。 詳細看這個問題: 'CSC:CSC(0,0): Error CS2001: Source file [file] could not be found.' 運行門控簽入 (C#) 時


首先嘗試將 XAML 構建定義的Process--TF Version Control中的標簽源從True (默認值)變為False

在此處輸入圖片說明

如果問題與創建標簽有關,這將縮小范圍。 如果構建成功,那么您應該仔細檢查您的構建服務帳戶是否具有創建標簽的適當權限。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM