January 27, 2011
It’s been a bad week for Visual Studio templates on my machines. Here’s a rundown of my latest problem. I installed ASP.NET MVC 3 on my notebook using the Web Platform Installer. It worked great and added new project templates to the Web category of the New Project dialog box. I then ran the same installation on my desktop machine. It said it completed successfully, but there were no MVC 3 project templates when I restarted Visual Studio. A quick search did not reveal hordes of people with the same problem, but I did find that you can download a setup program directly and bypass the Web Platform Installer. I ran that installer and it informed me that ASP.NET MVC 3 was incompatible with the Visual Studio Async CTP I had installed.
A Word document included with the Async CTP installation explains how to uninstall it. It simply requires removing two updates from the list of “Installed Updates” in Control Panel->Programs and Features. After removing them, I returned to the Web Platform Installer and it worked as expected and the correct project templates appeared in Visual Studio.
The Web Platform Installer has the potential to be a nice tool, but it obviously needs a little more polish. Don’t tell me an installation completed successfully if it did not.