1

I'd like to know how to change web.config when upgrading to Windows Azure 2.5. Current web.config is like

<dependentAssembly>
    <assemblyIdentity name="Microsoft.WindowsAzure.ServiceRuntime" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0" />
</dependentAssembly>
VMAtm
  • 27,943
  • 17
  • 79
  • 125
  • What NuGet package do you use? [This one](https://www.nuget.org/packages/Unofficial.Microsoft.WindowsAzure.ServiceRuntime/)? – VMAtm May 19 '15 at 11:22
  • No NuGet package is installed for WindowsAzure.ServiceRuntime, only WindowsAzure.Configuration and WindowsAzure.Storage. The version of ServiceRuntime is 2.5. –  May 19 '15 at 22:04
  • did you try the assembly redirect? – VMAtm May 20 '15 at 08:46

1 Answers1

1

You can easily edit your bindingRedirect section like this:

<bindingRedirect oldVersion="0.0.0.0-2.4.0.0" newVersion="2.5.0.0" />
VMAtm
  • 27,943
  • 17
  • 79
  • 125