Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install WindowsAzure.Storage in Visual Studio 2013?

Note: this answer didn't help me because I don't have the same dll: System.Collections.Immutable 1.1.37

I'm using Visual Studio 2013 and .net 4.5 and following this tutorial: Get started with Azure Blob storage using .NET I am trying to install WindowsAzure.Storage but get this error:

Attempting to resolve dependency 'Microsoft.Data.OData (≥ 5.8.2)'. Attempting to resolve dependency 'System.Spatial (= 5.8.2)'. Attempting to resolve dependency 'Microsoft.Data.Edm (= 5.8.2)'. Attempting to resolve dependency 'Newtonsoft.Json (≥ 6.0.8)'. Attempting to resolve dependency 'Microsoft.Data.Services.Client (≥ 5.8.2)'. Attempting to resolve dependency 'System.Net.Requests (≥ 4.0.11)'. Attempting to resolve dependency 'System.ComponentModel.EventBasedAsync (≥ > 4.0.11)'. Attempting to resolve dependency 'System.Dynamic.Runtime (≥ 4.0.0)'. Attempting to resolve dependency 'System.Linq.Queryable (≥ 4.0.0)'. The 'System.Linq.Queryable 4.0.0' package requires NuGet client version '3.0' or above, but the current NuGet version is '2.12.0.817'. enter image description here

when I upgrade Nuget per the red error in the image, it takes me to Extensions and Updates asking to update this: enter image description here

I don't know the relation between what I am looking for and this, but I went ahead and followed that update anyway, but get the error: enter image description here

Where should I proceed from here!?

based on comment form Simsons, I already checked that my processor supports Virtualization: enter image description here

like image 776
user1019042 Avatar asked Apr 20 '17 22:04

user1019042


People also ask

How do I store images in Azure?

Sign in to the Azure portal. From the left menu, select Storage accounts, then select the name of your storage account. Select Containers, then select the images container. Verify the image is shown in the container.

What is container storage in Azure?

Containers. A container organizes a set of blobs, similar to a directory in a file system. A storage account can include an unlimited number of containers, and a container can store an unlimited number of blobs.

What is azure Localstorage?

The Azure Storage platform is Microsoft's cloud storage solution for modern data storage scenarios. Azure Storage offers highly available, massively scalable, durable, and secure storage for a variety of data objects in the cloud.


1 Answers

When you try to install the WindowsAzure.Storage package through NuGet, this is the key error;

Attempting to resolve dependency 'System.Linq.Queryable (≥ 4.0.0)'. The 'System.Linq.Queryable 4.0.0' package requires NuGet client version '3.0' or above, but the current NuGet version is '2.12.0.817'

Unfortunately, System.Linq.Queryable 4.0.0 requires NuGet 3.0 or above. So this isn't going to work on Visual Studio 2013.

Luckily, the newer System.Linq.Queryable 4.3.0 only requires NuGet 2.12 which is available for Visual Studio 2013.

So, to successfully install WindowsAzure.Storage in Visual Studio 2013 via NuGet:

  1. Download and Install NuGet 2.12 if you don't already have it. (OP has confirmed already having this version)
  2. In NuGet, Install System.Linq.Queryable 4.3.0
  3. In NuGet, Install WindowsAzure.Storage
like image 115
Dana Avatar answered Sep 30 '22 08:09

Dana