I upgraded my Azure SDK to use version 1.8 and now I get the following error when compiling.
error CS0012: The type ‘Microsoft.WindowsAzure.CloudStorageAccount’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.
My code code looks like the following:
DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", diagConfig);
I needed to manually reference the “Microsoft SDKs\Windows Azure.NET SDK\2012-10\Microsoft.WindowsAzure.StorageClient.dll”. The reported version on this DLL is version 1.7.0.0 even though it is in the 2012-10 folder.