![](/img/trans.png)
[英]Could not load file or assembly 'Microsoft.TeamFoundation.Build.Workflow, version 14.0.0.0' when opening tfs XAML build on vs 2017
[英]TFS Build Controller : “Could not load file or assembly 'Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0”
如您所知,您的TFS Preivew不支持Azure SDK 1.8,因此我們使用On-permises TFS構建控制器來構建我們的項目。
在Azure Continous Inegration部署構建期間,我們收到此錯誤
========================================
Exception Message: Could not load file or assembly 'Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
========================================
我們已經使用nuget將存儲庫更新到2.0版,但我們仍然收到此錯誤。
我從TFS支持中收到了這個解決方案。 但是,自升級到TFS 2013以來,這是行不通的。
要修復程序集加載錯誤,您需要復制
“C:\\ Program Files \\ Microsoft SDKs \\ Windows Azure.NET SDK \\ 2012-06 \\ bin \\ Microsoft.WindowsAzure.StorageClient.dll”
至
C:\\ Program Files \\ Microsoft Team Foundation Server 12.0 \\ Tools
在構建計算機上並重新啟動服務。
打開詳細或診斷日志記錄詳細程度,以確定是否缺少Microsoft.WindowsAzure.StorageClient
或其中一個依賴項。 如果您能夠在本地編譯,則可以在本地GAC中安裝程序集,但不能在構建服務器上安裝程序集。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.