title: Error in loading Azure Storage 2.0 -- could not load Microsoft.Data.OData 5.0.2
body: <p>My hosted service uses Azure Storage 2.0 (exactly 2.0.5.1 from Nuget). Under Visual Studio 2010 I had no problem. I switched to Visual Studio 2012 and now in some web site of my main web role I get the following exception of type <code>Microsoft.WindowsAzure.Storage.StorageException</code>:</p>
  
  <pre><code>Could not load file or assembly 'Microsoft.Data.OData, Version=5.0.2.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)
  </code></pre>
  
  <p>while Azure Storage 2.0.5.1 requires <code>Microsoft.Data.OData</code> 5.2.0.0 . The other worker roles work just fine and they seem to find the correct assembly. In every project Azure Storage 2.0 is installed from Nuget and all the references point to the <code>packages</code> folder.</p>
  
  <p>I use Azure SDK 1.8 under .NET 4.0 -- this means that I also employ Azure Storage Client 1.7.</p>