woensdag 12 maart 2008

VS.NET 2008: Form designer not working on Windows Vista

I installed Visual Studio.NET 2008 on my Vista workstation at work. I was keen to work with it, but apparently, my workstation had some issues.

When I started VS.NET 2008, and created a new WinForms project, I received the following error when I wanted to open a Form in the designer:

The Service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service container

ISelectionContainer

I've searched a bit on the Internet, and it seems that I was not the only person who was having this problem.
However, nobody seemed to have a solution for this problem, and according to Microsoft, this problem was not reproducable ...

Eventually, I found a website where someone said you had to install SP1 for .NET 2.0 and SP1 for .NET 3.0.
Unfortunately, these service packs are not supported by Vista.

I was however able to install the updates KB110806 and KB929300 and installing these 2 updates, fixed my problem