CloudConfigurationManager missing from Azure SDK v2.4?

♀尐吖头ヾ 提交于 2019-12-06 23:07:01

问题


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.


回答1:


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.




回答2:


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




回答3:


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

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




回答4:


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



来源:https://stackoverflow.com/questions/25693143/cloudconfigurationmanager-missing-from-azure-sdk-v2-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!