1
votes

I installed Windows Azure Storage SDk from nuget. Added the references to my project.

When I make the following reference in my code:

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

I get an exception of: the type or namespace 'WindowsAzure' does not exist in the namespace 'Microsoft (are you missing an assembly reference)'?

researching the issue, I read in this blog that it targets 4.0 framework: http://www.milosev.com/index.php/93-azure/252-the-type-or-namespace-name-windowsazure-does-not-exist-in-the-namespace-microsoft-are-you-missing-an-assembly-reference

I want use the Azure storage to upload files, is possible to do it with net 3.5? Any alternatives, my site is hosted on Azure?

1

1 Answers

1
votes

The blog post you reference is really saying that you cannot target the Client Profile. Make sure your project target Framework is .NET 3.5 and not .NET 3.5 Client Profile.

It can definitely work in .NET 3.5. We use Azure storage in a project that targets .NET 3.5.

If that is not the issue, with the latest Azure Storage client, does it include binaries for .NET 3.5? If not, you may have to download and install and older version.

http://azure.microsoft.com/en-us/downloads/archive-net-downloads/