CloudConfigurationManager missing from Azure SDK v

2019-04-23 13:40发布

Can someone help me figure out where CloudConfigurationManager exists in Azure SDK v2.4?

CloudConfigurationManager, in the v2.3 SDK, is located in: C:\Program Files\Microsoft SDKs\Windows Azure.NET SDK\v2.3\ref\Microsoft.WindowsAzure.Configuration.dll

The 2.4 SDK is at C:\Program Files\Microsoft SDKs\Azure.NET SDK\v2.4

And there's no such Microsoft.WindowsAzure.Configuration.dll in that directory..

MSDN still shows CloudConfigurationManager in Microsoft.WindowsAzure.Configuration.dl: http://msdn.microsoft.com/en-us/library/azure/microsoft.windowsazure.cloudconfigurationmanager.aspx

And so the only way I can get my project to compile is if I have both the 2.3 and 2.4 SDK installed at the moment.

4条回答
不美不萌又怎样
2楼-- · 2019-04-23 13:47

1.Download Cloud Configuration NuGet package

https://www.nuget.org/packages/Microsoft.WindowsAzure.ConfigurationManager/

2.Install the package from local by solution NuGet package Manager

3.In code you will find class in Microsoft.Azure.CloudConfigurationManager

查看更多
兄弟一词,经得起流年.
3楼-- · 2019-04-23 13:57

It is in the folder C:\Program Files\Microsoft SDKs\Azure.NET SDK\v2.4\packages as a local NuGet package (see below). Also, there is a file in that directory titled LocalPackagesInstallationInstructions.docx that explains how to add it as a path for your NuGet Packages. If you have a new dev environment installation (as I did recently) then you may find this helpful.

enter image description here

查看更多
We Are One
4楼-- · 2019-04-23 14:00

Latest Answer . Install Package Microsoft.WindowsAzure.ConfigurationManager.3.2.1 or newer

which contains Microsoft.Azure namespaces which is having this class. CloudConfigurationManager

查看更多
▲ chillily
5楼-- · 2019-04-23 14:04

I found it in Microsoft.Azure as opposed to Microsoft.WindowsAzure

查看更多
登录 后发表回答