Azure的持续部署错误无法加载文件或程序Microsoft.WindowsAzure.Packaging [英] Azure continuous deployment error Could not load file or assembly Microsoft.WindowsAzure.Packaging

查看:191
本文介绍了Azure的持续部署错误无法加载文件或程序Microsoft.WindowsAzure.Packaging的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从哪儿冒出来,我开始收到此错误,当我尝试部署我的项目,以云服务(使用连续的部署和托管生成控制器。

Out of nowhere I started getting this error when I try to deploy my project to cloud service (using continuous deployment and hosted build controller.

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure Tools\2.5\Microsoft.WindowsAzure.targets (2917): Could not load file or assembly 'Microsoft.WindowsAzure.Packaging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

我发现<一个href=\"http://stackoverflow.com/questions/29281710/azure-sdk-2-5-1-fails-to-publish-cloudservice\">this SO质疑,但它并没有帮助我。

I found this SO question, but it didn't help me.

此外,我注意到,我甚至没有文件夹:

Also I noticed I didn't even have folder:

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\

我只有V10.0,V11.0,V12.0,所以我手动创建v14.0和复制的文件夹的Windows Azure工具形成12.0,但它并没有帮助。

I only have v10.0, v11.0, v12.0, so I manually created v14.0 and copied folder Windows Azure Tools form v12.0 but it didn't help.

修改

我已经更新Azure工具2.6,但问题和错误信息是相同的。

I've updated Azure tools to 2.6 but the problem and error message remains the same.

我该如何解决这个问题?

How can I fix this ?

推荐答案

我对Visual Studio中在线的主机生成控制器今天发生同样的错误。我假设你正在使用您的Azure和放大器的通话同样的事情;持续集成。

I had the same error occurring today on Visual Studio Online's Host Build Controller. I assume you are using the same thing by your talk of Azure & Continuous Integration.

我注意到,他们刚刚发布的Azure SDK 2.6支持构建控制器上的最后一天左右。我觉得这可能在某种程度上导致了该问题。

I noticed that they just released Azure SDK 2.6 support on the build controller in the last day or so. I feel that this may have somehow caused the problem.

我更新了我的云项目中使用2.6,检查了,一切都还顺利试。有些ccproj细节:

I updated my cloud project to use 2.6, checked in, and everything was fine again. Some ccproj details:

<PropertyGroup>
    <VisualStudioVersion Condition=" '$(VisualStudioVersion)' == '' ">10.0</VisualStudioVersion>
    <CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == '' ">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Windows Azure Tools\2.6\</CloudExtensionsDir>
  </PropertyGroup>

这篇关于Azure的持续部署错误无法加载文件或程序Microsoft.WindowsAzure.Packaging的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆