无法使用 VS2013/2015 在 C# 中创建 Azure 云服务

Unable to create an Azure Cloud Service in C# with VS2013/2015

这一切 - 可能 - 开始是因为我首先安装了 Azure SDK .NET 2.9,而我公司的项目仍然基于 2.7。当我安装 2.7 时,由于 2.7 和 2.9 之间的不兼容,项目创建失败。我遵循了 Whosebug 上建议的步骤。

我的问题如下:我将 Web 角色添加到新的 Azure 云服务模板中:

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.

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

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

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

我用 VS 2013 和 2015 都试过了。

看来我没有仔细按照 "Install Instructions" 从 Microsoft 网站下载 SDK。