22 Nov
So I’ve downloaded & installed Visual Studio 2008. First impressions: nice. It seems faster than 2005, but that may just because I haven’t installed ReSharper yet :). The multi-targeting feature that allows you to specify which version of the .NET framework to compile the project as is awesome. It makes migration so much easier. I’ve now been able to migrate our whole web solution to Visual Studio 2008 but keep the framework version at 2.0. We’ll upgrade to 3.5 later.
Very glad Microsoft decided to keep Web Application Projects built in to 2008, makes it all really simple. Everything ran fine except for one little gotcha with the web project itself. It’s not a big deal, but it was really annoying and the error messages were not overly helpful. It’s basically around Visual Studio trying to create the required virtual directory for the website in IIS. The error I was getting was:
Creation of the virtual directory http://dev.drive.com.au failed with the error: Could not find the server ‘http://dev.drive.com.au’ on the local machine. Creating a virtual directory is only supported on the local IIS server
See below for steps to reproduce & how to resolve this: