简体   繁体   中英

TFS Build Controller : “Could not load file or assembly 'Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0”

As you know that your TFS Preivew does not support for Azure SDK 1.8 so We are using On-permises TFS build controller to build our project.

During Azure Continous Inegration deployment build we are getting this error

========================================
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. 
========================================

We have updated Storage library to version 2.0 using nuget but still we are getting this error.

I received this solution from TFS support. THis isn't working since upgrading to TFS 2013 though.

To fix the assembly loading error, you need to copy

"C:\\Program Files\\Microsoft SDKs\\Windows Azure.NET SDK\\2012-06\\bin\\Microsoft.WindowsAzure.StorageClient.dll"

To

C:\\Program Files\\Microsoft Team Foundation Server 12.0\\Tools

On the build machine and restart the service.

Turn on Detailed or Diagnostic Logging Verbosity to determine if Microsoft.WindowsAzure.StorageClient or one of it's dependents are missing. If you are able to compile locally, you could have the assembly installed in your local GAC but not on the build server.

TFS记录详细程度

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM