2016-09-21 84 views
0

這一切都可能啓動,因爲我首先安裝了Azure SDK .NET 2.9,而我公司的項目仍然基於2.7。當我安裝2.7時,由於2.7和2.9之間的不兼容性,項目創建失敗。我遵循了在stackoverflow上建議的步驟。無法使用VS2013/2015在C#中創建Azure雲服務

我的問題是下列之一:我添加了一個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. 

我可以然後仍手動添加依賴關係,並嘗試在本地啓動Web角色,但它說:

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

SDK is therew其他如果我不能在第一時間創建項目,但可能缺少一部分?

我用VS 2013和2015年

回答

0

都嘗試它看起來像我沒有仔細閱讀以下從微軟網站的「安裝說明」在這裏你可以下載SDK。