I am attempting to update my program but installing Windows Azure Storage 3.0.3.0 via NuGet but when I do this I get the following:
Attempting to resolve dependency 'Microsoft.Data.OData (≥ 5.6.0)'.
Attempting to resolve dependency 'System.Spatial (= 5.6.1)'.
Attempting to resolve dependency 'Microsoft.Data.Edm (= 5.6.1)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 5.0.6)'.
Attempting to resolve dependency 'Microsoft.Data.Services.Client (≥ 5.6.0)'.
Attempting to resolve dependency 'Microsoft.Data.OData (= 5.6.0)'.
Already referencing a newer version of 'Microsoft.Data.OData'.
To be honest I think this an issue with the released package as I know it is new.
As anyone seen this before? If so how have you resolved this problem?
I know I could just rollback OData to the version that is supported but wondered if there were other options?
From the your comments it looks like they already had a version of Odata greater than 5.6.1 installed in your project. Therefore:
For how to fix this, first make sure you have at least the 2.8 version of NuGet installed. Then you should use the Package Manager Console and enter:
Update-package Microsoft.data.odata –version 5.6.0
Then either:
Install-package windowsazure.storage –version 3.0.3
Or:
Update-package windowsazure.storage –version 3.0.3
Depending on whether it’s an upgrade or an install of the Windows Azure storage libraries.
I fixed the exact same problem by downgrading these to 5.6.0:
After updating Windows Azure Storage to 3.0.3.0 I was able to re-update them to 5.6.1.
I found this command useful to downgrade:
uninstall-package <package> -force
-force will continue regardless of dependencies, but in this case we are adding them back so that should be fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With