azurevisual-studio-2013azure-blob-storage

The type or namespace name 'Storage' does not exist in the namespace 'Microsoft.WindowsAzure'


I updated to Visual Studio 2013 Update 2 RC and to Azure SDK 2.3.

Now I get the following error:

The type or namespace name 'Storage' does not exist in the namespace 'Microsoft.WindowsAzure'

On all three of these:

using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Blob;

If I remove these using namespaces then I get the error:

The type or namespace name 'CloudBlobClient' could not be found (are you missing a using directive or an assembly reference?)

On this line:

CloudBlobClient _blobClient;

and I get the little underline in VS suggesting that I add in :

using Microsoft.WindowsAzure.Storage.Blob;

Which is the same namespace that that VS is telling me does not exist.

Any ideas?


Solution

  • On May 12th Microsoft released WindowsAzure.Storage 4.0 on NuGet. Upgrading to this package from 3.1 fixes the issue.