TFS构建控制器:“无法加载文件或程序集'Microsoft.WindowsAzure.StorageClient,版本= 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,因此我们正在使用本地TFS生成控制器来生成我们的项目.
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.
在Azure持续集成部署构建期间,我们遇到此错误
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.
========================================
我们已使用nuget将存储库更新为2.0版,但仍然收到此错误.
We have updated Storage library to version 2.0 using nuget but still we are getting this error.
推荐答案
我从TFS支持获得了此解决方案.自从升级到TFS 2013以来,此功能无法正常工作.
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"
"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
C:\Program Files\Microsoft Team Foundation Server 12.0\Tools
在构建计算机上,然后重新启动服务.
On the build machine and restart the service.
这篇关于TFS构建控制器:“无法加载文件或程序集'Microsoft.WindowsAzure.StorageClient,版本= 1.7.0.0&".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!