0

I am getting the following error when running my web role:

Could not load file or assembly 'Microsoft.WindowsAzure.ServiceRuntime, Version=2.0.0.0

In my references, I see that I am using version 1.8.0.0 of the ServiceRuntime (as well as Diagnostics).

I cannot find v2.0.0.0 in NuGet or anywhere on my computer. I currently have the latest SDK installed.

How do I upgrade these two references to 2.0.0.0?

EDIT:

I am going to attempt to reinstall the SDK. Which of the following do I need to uninstall?

enter image description here

My guess is just the Libraries for .NET?

Dave New
  • 38,496
  • 59
  • 215
  • 394
  • 1
    You could run a full-text search for "1.8" over you working copy. It can be anywhere, for example, in web.config or in some abandoned files. – sharptooth Jul 22 '13 at 06:23
  • Thanks for the comment - really struggling with this problem. I don't quite understand what you mean though. Why am I searching for "1.8"? I need to get v2.0.0.0 – Dave New Jul 22 '13 at 06:25
  • Yeap, you should search for "2.0", I really read your question backwards. – sharptooth Jul 22 '13 at 06:27
  • Ok thanks, but I still don't understand. I need to get the new v2.0 DLLs. – Dave New Jul 22 '13 at 06:34
  • Then I don't get your question. Do you want to use SDK 1.8 (and so get rid of references to 2.0) or do you want to use SDK 2.0 (which you clearly don't have installed)? – sharptooth Jul 22 '13 at 06:40
  • I want to know how and where to get v2.0.0.0 of ServiceRuntime and Diagnostics. I have SDK 2.0 installed (I'm using the new storage libraries), but in my references list, I can only see v1.8 of ServiceRuntime and Diagnostics. – Dave New Jul 22 '13 at 06:43
  • 1
    Something is big time wrong - with SDK 2.0 installed you should be able to add references to ServiceRuntime 2.0 no problem. – sharptooth Jul 22 '13 at 06:46
  • Oh damn. Let me try uninstall and reinstall the SDK. Feel free to turn that into an answer. – Dave New Jul 22 '13 at 06:50
  • Question updated.. please check :) – Dave New Jul 22 '13 at 06:53
  • When I was moving from 1.6 to 1.8 I uninstalled all the components with version 1.6. – sharptooth Jul 22 '13 at 06:55

1 Answers1

1

I had to uninstall the SDK and reinstall it using the Web Platform installer. I would have expected it to prompt for an upgrade or that there is a newer SDK out. This was further confusing because I was using NuGet for the v2 of the Storage Libraries.

Dave New
  • 38,496
  • 59
  • 215
  • 394