0

这一切——可能——开始是因为我一开始就安装了 Azure SDK .NET 2.9,而我公司的项目仍然基于 2.7。当我安装 2.7 时,由于 2.7 和 2.9 之间的不兼容,项目创建失败。我按照stackoverflow上建议的步骤进行操作。

我的问题如下:我在新的 Azure 云服务模板中添加了一个 Web 角色:

The following NuGet packages could not be installed in project Slip:

Microsfot.WindowsAzure.Caching (version 'unknown'): Value cannot be null.
Parameter name: path1
WindowsAzure.Storage (version 'unknown'): Value cannot be null.
Parameter name: path1

如果我点击确定,它会说:

Could not load file or assembly 'Microsoft.WindowsAzure.Storage, Version 5.0.0.0, Culture=neutral, PublicKeyToken-...' or one of its dependencies. The system cannot find the file specified.

然后我仍然可以手动添加依赖项并尝试在本地启动 Web 角色,但它说:

Failed to locate the Microsoft Azure SDK. Please make sure the Microsoft Azure SDK v2.7 is installed.

SDK在那里,否则我一开始就无法创建项目,但可能缺少一部分?

我尝试了 VS 2013 和 2015。

4

1 回答 1

0

看起来我没有仔细遵循 Microsoft 网站上的“安装说明”,您可以在其中下载 SDK。

于 2016-09-26T12:21:22.307 回答