问题描述
有人可以帮助我弄清楚Azure SDK v2.4中存在CloudConfigurationManager的地方吗?
Can someone help me figure out where CloudConfigurationManager exists in Azure SDK v2.4?
CloudConfigurationManager位于:C:\ Program Files \ Microsoft SDKs \ Windows Azure.NET SDK \ v2.3 \ ref \ Microsoft.WindowsAzure.Configuration.dll
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
2.4 SDK位于C:\ Program Files \ Microsoft SDKs \ Azure.NET SDK \ v2.4
The 2.4 SDK is at C:\Program Files\Microsoft SDKs\Azure.NET SDK\v2.4
在该目录中没有这样的Microsoft.WindowsAzure.Configuration.dll.
And there's no such Microsoft.WindowsAzure.Configuration.dll in that directory..
MSDN仍在Microsoft.WindowsAzure.Configuration.dl中显示CloudConfigurationManager: http://msdn.microsoft.com/en-us/library/azure/microsoft.windowsazure.cloudconfigurationmanager.aspx
MSDN still shows CloudConfigurationManager in Microsoft.WindowsAzure.Configuration.dl: http://msdn.microsoft.com/en-us/library/azure/microsoft.windowsazure.cloudconfigurationmanager.aspx
因此,使我的项目编译的唯一方法是同时安装2.3和2.4 SDK.
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.
推荐答案
它位于文件夹 C:\ Program Files \ Microsoft SDKs \ Azure.NET SDK \ v2.4 \ packages 中本地NuGet软件包(请参见下文).此外,该目录中还有一个名为LocalPackagesInstallationInstructions.docx的文件,该文件说明了如何将其添加为NuGet软件包的路径.如果您有一个新的开发环境安装(如我最近所做的那样),那么您会发现这很有帮助.
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.
这篇关于Azure SDK v2.4中缺少CloudConfigurationManager吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!