Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

We had previously been referring to our Windows Azure libraries via the SDK and I noticed that they have NuGet packages for them now. This is obviously way better, so I'm swapping out all of those references for the NuGet packages.

However, I can't find a NuGet package for Microsoft.WindowsAzure.ServiceRuntime.dll that contains classes such as RoleEnvironment, etc.

Are we supposed to be referencing this dll from the SDK installation and not a nuget package? That seems extremely odd. Am I just not seeing the package for this assembly?

I've now installed all of the "windowsazureofficial" tagged packages (just temporarily) and none of them seem to have the correct reference!

like image 994
Allen Rice Avatar asked Jun 28 '12 20:06

Allen Rice


2 Answers

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.

like image 157
AvkashChauhan Avatar answered Sep 21 '22 06:09

AvkashChauhan


How to add Microsoft.WindowsAzure.ServiceRuntime

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

like image 43
David Avatar answered Sep 19 '22 06:09

David