Zoki's Blog

When future comes first! iDevolution

Install VS 2005/2008 extensions for SharePoint on Windows XP/Vista OS

These extensions that Microsoft has created for us are simply tools for developing custom SharePoint applications which include Visual Studio project templates for Web Parts, site definitions, list definitions and a stand-alone utility program, the SharePoint Solution Generator. To be able to use them you will need to install them first. Trying to do that on a PC with Windows XP or Vista OS you won't get lucky. The first thing installation does is checking if you have Windows SharePoint Services 3.0 (WSS 3.0) installed on your machine. Because WSS can't be installed on non server OS your attempt to install the extensions will fail.

To avoid this there is only one thing that you should do and it is very easy. Just set the following key in your registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0]
"Sharepoint"="Installed"

With this key in place the installation of both extensions (for VS 2005 and VS 2008) will continue smoothly.

The above mentioned extensions can be freely downloaded from the following URL's:


Visual Studio 2005
http://www.microsoft.com/downloads/details.aspx?familyid=3E1DCCCD-1CCA-433A-BB4D-97B96BF7AB63&displaylang=en

Visual Studio 2008
http://www.microsoft.com/downloads/details.aspx?FamilyID=7bf65b28-06e2-4e87-9bad-086e32185e68&DisplayLang=en

Have a great day!

Comments

mile said:

Good to know this.

Anyway I strongly recommend setting up SPS development environment on win 2003 server.

# June 19, 2008 12:39 AM

ree said:

Thak a lots

# February 2, 2009 1:06 AM

Carlos said:

this is gold! thanks.

# February 17, 2009 7:02 PM

Fetch said:

Nice hack!

If you have any idea why Microsoft does not make this easier for developers please let me know. Can't figure out why they made it check this for for beans...

andrewfetchko AT hotmail.com

# March 2, 2009 5:04 PM

Anant said:

i dont have Web Server Extensions\12.0 under the Shared Tools .. So how do i add this ..

# March 10, 2009 4:32 AM

Zoki said:

Just add the "Web Server Extensions" and "12.0" keys yourself...

Right click on "Shared Tools" --> New --> Key

# March 10, 2009 9:56 AM

Tamer elserwy said:

Good work. It's running

Thank you

# March 25, 2009 2:26 PM

P.Magos said:

Thank you a lot! Having to install dev tools on a server is crazy.

# March 30, 2009 8:39 AM

Zia said:

Hey

I could install the tool but it didn't help me create a sharepoint project

could you please help me.

Thanks,

Zia

# July 5, 2009 12:20 AM

Zoki said:

If you are using Windows XP I am afraid that you will not be able to create one but on Vista just install WSS 3.0 and you are fine.

To be able to do the same on XP you need to have the SharePoint dll's in GAC

# July 6, 2009 5:38 AM

Buck said:

Trick does not work under Win7-ent. Any ideas? I added both the 'Web Server Extension' and '12.0' key with a new REG_SZ of value Installed.

# August 19, 2009 7:57 AM

Zoki said:

To install it to Win-7 the easiest way is to install WSS/MOSS on the machine and then you will not have any problems installing the extensions.

Look at this post to see how to install WSS/MOSS on Vista or Win-7: mkdot.net/.../install-windows-sharepoint-services-3-0-sp1-moss-2007-on-windows-xp-x64-and-vista-x64-x86.aspx

# October 19, 2009 1:37 PM

Spyware Blockers said:

I have been reading your posts lately, just want to say thanks for all informative stuff i have found here, helped me learn alot lately.

Much Regards, Mark

# November 12, 2009 9:42 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)