How to find Azure SDK installed on local dev machine - azure

Could someone please help me with how to find/know the Azure SDK installed on a machine?
The reason being, I am trying to use Azure Cache and it's complaining about SDK.

I found my installs at:
C:\Program Files\Microsoft SDKs\Azure.NET SDK

Should be in your C:\Program Files\Windows Azure SDK\<version> folder where version = Azure SDK version.

Looks like the location has potentially changed again:
C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.9

Users of Visual Studio can also verify installed components of SDK in Visual Studio Installer, as an alternative to manually viewing it in the file system.
Visual Studio Installer -> Installed -> Modify should bring you a screen with installation details. There you should be able to see installed SDKs and the list of included and not included components of your SDK.

I found it in
C:\Users\YOURUSER\AppData\Roaming\Python\Python27\site-packages\azure

Related

Where is Microsoft.WindowsAzure.Diagnostics?

Project references to the various parts of the Azure SDK should live in the installation of the Azure SDK, but for some odd reason my code (an Azure Mobile Service) can no longer see Microsoft.WindowsAzure.Diagnostics:
I should be able to pick the Microsoft.WindowsAzure.Diagnostics.dll up from my Azure SDK 2.7 installation, but here's what I see in the SDK's 'ref' directory:
I.e. I just have
Microsoft.WindowsAzure.ServiceRuntime.dll
WindowsAzureEventSource.dll
WindowsAzureTelemetryEvents.dll
but I do not have Microsoft.WindowsAzure.Diagnostics.dll. Interestingly there is an NuGet package called Unofficial.Microsoft.WindowsAzure.Diagnostics, with over 30,000 downloads, which suggests that I am not the only one having this problem.
Where should I reference Microsoft.WindowsAzure.Diagnostics from; is it a DLL somewhere in an SDK or in a NuGet package; where is it?
You can find it here: C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.7\bin\plugins\Diagnostics. With SDK version 2.5, diagnostics is now a plugin.
It's not in C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.7\ref, but is in
C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.7\bin\plugins\Diagnostics\Microsoft.WindowsAzure.Diagnostics.dll
It was a simple matter of removing the stale reference and re-adding it through the Reference Manager:

Error 160 WAT080 : Failed to locate the Windows Azure SDK 2.3 on Visual Studio 2013

When I am trying to build my project (inherited code) on Visual Studio 2013, I receive the following error:
Error 160 WAT080 : Failed to locate the Windows Azure SDK. Please make sure Windows Azure SDK 2.3 is installed.
The error points to the file Microsoft.WindowsAzure.targets located at
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.3.
I have installed Azure SDK 2.3 from
https://www.microsoft.com/en-US/download/details.aspx?id=42317
in folder
C:\Program Files\Microsoft SDKs\Windows Azure.NET SDK\v2.3.
and added it to the system path in my windows machine.
Nevertheless, I'm still getting the error.
NuGet package
Try to install local nuget package for project - this is the way recommended by Microsoft.
Depending on what you exacly need, check what you can install:
Windows Azure Storage
All Azure packages at NuGet
Azure SDK
Install Windows Azure tools for Visual Studio
https://msdn.microsoft.com/en-us/library/azure/ff687127.aspx
and restart Visual Studio for sure.
You should see it in TOOLS->Extensions and updates on screen like in below

Visual Studio extension conflict when removing a project

After I save the changes of a solution and then remove an existing project, I'll get the following error message:
The operation could be completed. Not implemented.
Then I launched devenv.exe /Log and able to reproduce the problem and the errors are:
Extension will not be loaded because an extension with the same ID &apos;Microsoft.Windows.DevelopmentKit.Desktop&apos; is already loaded at
C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.0\DESKTOP SDK\
C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK\
Extension will not be loaded because an extension with the same ID &apos;Microsoft.WinJS&apos; is already loaded at
C:\PROGRAM FILES (X86)\MICROSOFT SDKS\WINDOWS\V8.1\EXTENSIONSDKS\MICROSOFT.WINJS.SHARED\VSIX\
C:\PROGRAM FILES (X86)\MICROSOFT SDKS\WINDOWS\V8.0\EXTENSIONSDKS\MICROSOFT.WINJS.SHARED\VSIX\
It looks like it's trying to load two extensions but with different versions. I believe they are the Microsoft Advertising SDK for Windows 8.1 and Microsoft Advertising SDK for Windows Phone 8.1 but even if I launch VS 2012 with Admin, the Uninstall button is greyed out for me. I don't see them in the Add/Remove Programs either. So how can I get rid of this error?
A side note, I have both VS 2012 and VS 2013 installed and I had to do a repair on VS 2012 after VS 2013 was installed.
I had the same problem with Microsoft Windows Development Kit: two errors every time at Visual Studio start with description in the
%AppData%\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml
Sometimes (I think every time) Visual Studio Updater or Installer (when you try to install other version of VS) does not remove already installed version of a VS module.
In my case I had the second WDK with older version but installed after the newer one. I manually uninstalled the older version of Microsoft Windows Development Kit and problem with Visual Studio was solved.

CloudConfigurationManager missing from Azure SDK v2.4?

Can someone help me figure out where CloudConfigurationManager exists in Azure SDK v2.4?
CloudConfigurationManager, in the v2.3 SDK, is located in:
C:\Program Files\Microsoft SDKs\Windows Azure.NET SDK\v2.3\ref\Microsoft.WindowsAzure.Configuration.dll
The 2.4 SDK is at C:\Program Files\Microsoft SDKs\Azure.NET SDK\v2.4
And there's no such Microsoft.WindowsAzure.Configuration.dll in that directory..
MSDN still shows CloudConfigurationManager in Microsoft.WindowsAzure.Configuration.dl: http://msdn.microsoft.com/en-us/library/azure/microsoft.windowsazure.cloudconfigurationmanager.aspx
And so the only way I can get my project to compile is if I have both the 2.3 and 2.4 SDK installed at the moment.
I found it in Microsoft.Azure as opposed to Microsoft.WindowsAzure
It is in the folder C:\Program Files\Microsoft SDKs\Azure.NET SDK\v2.4\packages as a local NuGet package (see below). Also, there is a file in that directory titled LocalPackagesInstallationInstructions.docx that explains how to add it as a path for your NuGet Packages. If you have a new dev environment installation (as I did recently) then you may find this helpful.
Latest Answer .
Install Package Microsoft.WindowsAzure.ConfigurationManager.3.2.1 or newer
which contains Microsoft.Azure namespaces which is having this class. CloudConfigurationManager
1.Download Cloud Configuration NuGet package
https://www.nuget.org/packages/Microsoft.WindowsAzure.ConfigurationManager/
2.Install the package from local by solution NuGet package Manager
3.In code you will find class in Microsoft.Azure.CloudConfigurationManager

Error 109 WAT080 : Failed to locate the Windows Azure SDK 2.1 on Visual Studio 2013

I have Visual Studio 2013 with update 3 installed.
On the first time i opened my project, it prompted me to download and install
Azure SDK 2.2 and so i did.
When i tried to build, it fails and gives me this error message:
Error 109 WAT080 : Failed to locate the Windows Azure SDK. Please make sure the Windows Azure SDK v2.1 is installed.
So I installed SDK 2.1 but the build still fails with the same error.
These are my installed azure SDKs: 2.1, 2.2, 2.3, 2.4.
I also confirmed that the folders of each version are NOT missing here:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools
We started the cloud project which is an MVC site on the 3rd quarter of 2013 when the Windows Azure 2.2 released and I had no problem.
Is it possible that these Azure SDKs are conflicting?
It's fixed now. Unfortunately, you cannot find the Azure SDK 2.2 for VS 2013 and older versions in web platform installer anymore. So you have to manually install all the components (according to version).
I noticed that this folder is missing.
C:\Program Files\Microsoft SDKs\Windows Azure.NET SDK\v2.2
Which means that WindowsAzureLibsForNet-x64.msi is not yet installed.
You can download it here: http://www.microsoft.com/en-us/download/details.aspx?id=40893.
I've seen solved threads about this but the solution didn't solve for everyone. I hope this would help.
I had to restart Visual Studio after Azure SDK install. ServiceHostingSDKBinDir was set fine in msbuild, but not in the VS.
I added C:\Program Files\Microsoft SDKs\Windows Azure.NET SDK\v2.3 (or whatever sdk you need eg. 2.2, 2.4) to the system path and it fixed the issue of VS2013 not being able to find the SDK.
After I'd changed the system path, I had to restart VS2013.

Resources