Azure的SDK 2.5.1发布失败cloudService [英] Azure SDK 2.5.1 fails to Publish cloudService

查看:237
本文介绍了Azure的SDK 2.5.1发布失败cloudService的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在成功升级我的云服务为新的Azure SDK用于.NET的 2.5.1 ,试图包装/出版时,我得到了下面的错误。

After successfully upgrading my cloud service to the new "Azure SDK for .NET 2.5.1" I got the following error when trying packaging/publishing.

无法加载文件或程序集Microsoft.WindowsAzure.Packaging,
  版本= 1.0.0.0,文化=中性公钥= 31bf3856ad364e35'或
  它的一个依赖。系统无法找到文件
  指定。 C:\\ Program Files文件
  (86)\\的MSBuild \\微软\\ VisualStudio的\\ 12.0 \\ Windows Azure的
  工具\\ 2.5 \\ Microsoft.WindowsAzure.targets

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. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.5\Microsoft.WindowsAzure.targets

在Microsoft.WindowsAzure.targets配置文件中的相关行的 2930 这显然是与CSPack。

The related line in the "Microsoft.WindowsAzure.targets" config file is 2930 which obviously is related to CSPack.

<CSPack
  ServiceDefinitionFile="@(TargetServiceDefinition)"
  Output="@(PublishServicePackage)"
  PackRoles="@(Roles)"
  SiteMapping="@(SiteMapping)"
  RoleProperties="@(RoleProperties)"
  ImportedModules="@(ImportedModules)"
  CopyOnly="false"
  >
</CSPack>

于是我去创造一个全新的项目一个全新的Azure云服务,看看是否出现了错误进行升级。不幸的是,问题仍然存在。

So I went on to create a fresh new Azure Cloud service in a fresh new project to see if something went wrong with the upgrade. Unfortunately the problem persists.

有没有一种解决方法或我将不得不回滚到V2.4(这将导致我的痛苦的显著量)

Is there a workaround or will I have to rollback to v2.4 (that will cause me significant amount of pain)

我正在运行的VS 2013更新4。

I am running on VS 2013 update 4.

推荐答案

对不起,麻烦大家。我们正在调查是什么导致了这一点。它看起来像有一个奇怪的行为与我们的安装程序,其中在某些环境中这两个二进制文件没有正确安装。

Sorry for the trouble, everyone. We are investigating what's causing this. It looks like there is an odd behavior with our installers where in some environments those two binaries are not installed correctly.

我们也发现,如果2.5.1 Azure的创作工具删除并重新安装,缺少的二进制文件将被正确安装。所以,如果你遇到这样的问题,请移除程序和功能创作工具V2.5.1,并通过任何Web平台安装程序或者直接下载链接重新安装:

We did discover if the 2.5.1 Azure Authoring Tools is removed and reinstalled, the missing binaries will be installed correctly. So if you run into this issue, please remove Authoring Tools v2.5.1 from Programs and Features, and reinstall via either the Web Platform Installer or the direct download links:

<一个href=\"http://download.microsoft.com/download/1/E/7/1E76DD6F-66F1-47E0-A76A-3BBAAC617316/MicrosoftAzureAuthoringTools-x64.msi\">http://download.microsoft.com/download/1/E/7/1E76DD6F-66F1-47E0-A76A-3BBAAC617316/MicrosoftAzureAuthoringTools-x64.msi

<一个href=\"http://download.microsoft.com/download/1/E/7/1E76DD6F-66F1-47E0-A76A-3BBAAC617316/MicrosoftAzureAuthoringTools-x86.msi\">http://download.microsoft.com/download/1/E/7/1E76DD6F-66F1-47E0-A76A-3BBAAC617316/MicrosoftAzureAuthoringTools-x86.msi

带来的不便道歉。我们将继续调查。

Apologies for the inconvenience. We will continue the investigation.

这篇关于Azure的SDK 2.5.1发布失败cloudService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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