简体   繁体   English

安装Azure SDK 2.5后如何运行Azure 2.2项目

[英]How to run Azure 2.2 project after installing Azure SDK 2.5

After installing Azure SDK 2.5 (side by side with 2.4 and 2.2), I cannot run my 2.2 projects locally. 安装Azure SDK 2.5(与2.4和2.2并排)后,我无法在本地运行我的2.2项目。 I'm getting the following error: 我收到以下错误:

Windows Azure Tools: Error: The installed Microsoft Azure Compute Emulator does not support the role binaries. Windows Azure工具:错误:安装的Microsoft Azure计算模拟器不支持角色二进制文件。 Please install the latest Microsoft Azure Compute Emulator and try again. 请安装最新的Microsoft Azure Compute Emulator,然后重试。

Looks like the compute emulator 2.5 replaced the 2.2 rather than running side by side. 看起来计算模拟器2.5取代了2.2而不是并排运行。

I tried to install the 2.2 compute emulator, but i'm getting a 我试图安装2.2计算模拟器,但我得到了一个

A newer version of this product is already installed 已安装此产品的较新版本

Is there a way I can run both 2.5 and 2.2 projects on the same machine? 有没有办法可以在同一台机器上运行2.5和2.2项目?

When you upgrade the azure SDK the old compute emulator was replaced by newest one. 升级azure SDK时,旧的计算模拟器被最新的计算模拟器替换。 You can run old projects by uninstalling newest version of the compute emulator and install the old version that is 2.2 version of the compute emulator. 您可以通过卸载最新版本的计算模拟器来运行旧项目,并安装2.2版本的计算模拟器的旧版本。 It is possible to build both version of projects at a time on same machine but debugging doesn't work. 可以在同一台机器上一次构建两个版本的项目,但调试不起作用。 I think there is no way to run both version at a time. 我认为没有办法同时运行这两个版本。

Did you try to upgrade your project? 您是否尝试升级项目? You can try to upgrade your dll with "Nuget Packages". 您可以尝试使用“Nuget Packages”升级您的dll。 Pls go, Tools > Nuget Package Manager > Manage Nuget Packages for Solution > Updates > Update All (or jsut Azure SDK). 请转到,工具> Nuget包管理器>管理解决方案的Nuget包>更新>全部更新(或jsut Azure SDK)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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