簡體   English   中英

TFS構建控制器:“無法加載文件或程序集'Microsoft.WindowsAzure.StorageClient,Version = 1.7.0.0”

[英]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中安裝程序集,但不能在構建服務器上安裝程序集。

TFS記錄詳細程度

暫無
暫無

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

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