Update WebJobs to the latest Nuget package. Updates app.config to not match the version of the WindwosAzure.Storage DLL

ERR] Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly "Microsoft.WindowsAzure.Storage, Version = 4.1.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35" or one of its dependencies. The located assembly manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

In the v.04rc WebJobs subproject after upgrading the "Webjobs" Nuget package to version 1.0.0-rc1 (Note: v0.5 Azure SDK contains the old version: http://azure.microsoft.com/blog/2014/09/ 06 / announcing-the-0-5-0-beta-preview-of-microsoft-azure-webjobs-sdk / )

The project now links to v4.1.0.0 and app.config: bindingRedirect oldVersion = "0.0.0.0-4.1.0.0" newVersion = "4.1.0.0" / ">

But the DLL placed in "bin" is version 4.0.1.0. What's the minimum version dependency in Nuget.

+3


source to share


1 answer


Tutorial: Don't trust the Nuget update in Visual Studio.

Update dependent FIRST packages yourself.



In this case I have updated in the following order and now all packages, bin and app.config agree:

  • Newtonsoft.Json
  • Microsoft.Data.OData li>
  • WindowsAzure.Storage
  • WindowssAzure.WebJobs
+1


source







All Articles