Is there a simple (documented?) way to detect the actually installed version of Azure SDK in automation script? I am going to define conditional behavior depending on this version.
Currently, I just look into the C:\Program Files\Microsoft SDKs\Windows Azure\.NET SDK\
folder and review its content. But I find it not reliable and not automatable.
Here's the tip that helped me: http://www.robblackwell.org.uk/2011/05/29/determining-the-windows-azure-sdk-version-at-runtime.html
If you used the Windows Platform Installer to install the SDK (which I believe is the standard way to do it now), you can use webpicmd.exe to determine which SDK is installed. For example:
webpicmd /List /ListOption:Installed
See more at http://msdn.microsoft.com/en-us/library/azure/gg433092.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With