Where is the NuGet package for Microsoft.WindowsAzure.ServiceRuntime?

 ̄綄美尐妖づ 提交于 2019-12-03 09:17:00

The latest Windows Azure SDK is 1.7 so If you need updated Microsoft.WindowsAzure.ServiceRuntime you would have to manually install the SDK in your machine and add those references to your role.

For anyone still battling, make sure you look under Assemblies > Extensions ;) This has now got me twice within 3 months!

I had a similar problem.

Option 1)

I added a dll libray in my Google Drive Storage: Microsoft.WindowsAzure.CloudDrive

In this case you should download and create a "static" link.

Option 2)

and I found a NuGet Package:

Azure SDK 2.2 DLLs

PM> Install-Package AzureSDK2.2DLLs

If you need more information, please contact me.

You need to install the particular version of the Azure SDK which you want to build with.

Actually you only need to install certain parts of it including the reference libraries(there are multiple parts of the SDK you can download separately) - and it depends which assemblies you are looking for.

e.g. for 2.2 or 2.3 SDK and Microsoft.WindowsAzure.ServiceRuntime or Microsoft.WindowsAzure.Diagnostics assemblies, you need the 'WindowsAzureAuthoringTools' MSI installer - not the 'WindowsAzureLibsForNet-x64' MSI, which installs some of the other reference libraries.

There doesn't appear to be one at this time, but I found this: AnglicanGeek's Unofficial Windows Azure Service Runtime 1.6

It's now a regular package on NuGet:

Install-Package Microsoft.WindowsAzure.SDK

List with all Azure Packages: Azure SDK for .NET

Note: Before downloading the SDK files, review the installation steps to understand the process and dependencies involved in installing the SDK. For SDK 1.7 and later releases, use the installation steps included with the Manual Installers links below. For SDK 1.6 and earlier, follow the installation steps listed later on this page.

You can find Microsoft.WindowsAzure.ServiceRuntime.dll located in the path:

Program Files\Microsoft SDKs\Windows Azure\.NET SDK\<sdk_version>\bin\runtimes\base

Its likely that they don't want to distribute the core parts of the SDK so you still have a requirement to install the actual SDK. I messaged (via nuget) the owners of the "windowsazureofficial" nuget packages and asked for feedback and I'll update this if I hear back.

As for upgrading, first get the sdk and then follow the upgrade instructions here. The references will automatically be updated and it will convert local references to nuget package references as well, when it can.

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