Monday, December 8, 2008

Workaround for Installing SharePoint Extensions for Visual Studio on Windows XP


Note: Part II of the SharePoint "Behind the Scenes" Tutorial will be posted tomorrow.


The SharePoint Extensions for Visual Studio (versions 2005 and 2008) make SharePoint development so much easier. However, it assumes that you are developing on a machine with Windows Server 2003, which has the SharePoint Server components already installed.

What if you develop on a Windows XP or Windows Vista machine, and you port the code to a SharePoint server? Unfortunately, you cannot install the SharePoint Extensions on a Windows XP or Windows Vista machine out of the box.

However, with a small registry hack, you will be able to install SharePoint Extensions for Visual Studio on a Windows XP or Windows Vista machine. I did the registry hack on my XP machine, and I was able to install the extensions.

Warning: Approach registry hacks with caution. Make sure you make an image of your machine or a backup of your registry before doing the hack in case something goes wrong.

If you would like to see how it's done, click here to see the video demonstration (WMV file)



Source: Janne Matilla's Blog

1 comment:

Jennifer said...

Just a quick note -

I've noticed that if you have both VS 2005 and VS 2008 installed on your machine, it appears that this workaround will work for one or the other.

For example, on my machine, I did this workaround for VS 2005. When I tried the workaround for VS 2008, it didn't work.