Now that we can get hands on the “Developer Preview” of Windows 8, many of us, looking forward to install all of the great Windows Azure tools on Windows Developer Preview machine – especially if want to take advantage of the new Windows Azure Toolkit for Windows 8.
Wade Wegner, Technical Evangelist Lead for Windows Azure has posted a walkthrough, here are the steps, per Wegner blog post:
- Install Microsoft .NET Framework 3.5.1 — type “Windows Features”, select Settings, and select Turn Windows features on or off. Then check the checkbox. Click OK to install.
- Next configure IIS. Typically, from Turn Windows features on or off you’ll need to do the following, then click OK to install.
- Check Internet Information Services.
- Expand Internet Information Services and World Wide Web Services.
- Expand Application Development Features and check ASP.NET 2.0, ASP.NET 4.5, and CGI.
- Expand Common HTTP Features and check HTTP Redirection.
- Expand Health and Diagnostics and check Logging Tools, Request Monitor, and Tracing.
- Install the Web Platform Installer (WebPI).
- Install Visual Web Developer 2010 Express through WebPI. (You can use a different version of Visual Studio 2010, so long as it’s supported by the Windows Azure Tools for Visual Studio.)
- Install Windows Azure Tools for Microsoft Visual Studio 2010 – September 2011 through WebPI.
- Okay, now you have everything installed.
However, before running Visual Studio, you’ve to create a script to launch Visual Studio 2010. This is because the Azure tools use an environmental variable that’s incorrectly pointing to version 11.0, and we’ll need to change it right before we launch to version 10.0 (for Visual Studio 2010).
Save the script as a CMD file (i.e. OpenVisualStudio2010.cmd) and then make sure to right-click and Run as administrator! If you forget to run the script as administrator then Visual Studio won’t have the permissions needed to run the Windows Azure tools correctly.
Here is the script:
@ECHO OFF SET VisualStudioVersion=10.0 SET VisualStudioPath="%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE" IF NOT EXIST %WINDIR%\SysWow64 SET VisualStudioPath="%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE" CD /D %VisualStudioPath% VWDExpress.exe