Windows Azure Storage DLL version mismatch

Nicolas Zawada asked on May 26, 2016 09:45

Hello

For our Kentico V9 Web Forms project, we use ImageProcessor.org. For media storage we use the Azure Blob Storage. It all worked well until we installed the ImageProcessor Azure Blob cache package via NuGet. This package installs Microsoft.WindowsAzure.Storage version 4.3.0.0. But if I did my research well, Kentico references version 5.0.0.0 of that package.

So now when I use Kentico's media selection form control, an error is thrown: Could not load file or assembly 'Microsoft.WindowsAzure.Storage, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]

How can this be fixed? I can explain more, if needed.

Thanks in advance, Nicolas.

Correct Answer

Nicolas Zawada answered on May 26, 2016 10:25

Okay so I just found the answer, and it works. Right after I posted this question, I found this article.

I made a folder in the bin folder with the two different versions and referenced them in Web.config with codebase.

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.