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 2005http://www.microsoft.com/downloads/details.aspx?familyid=3E1DCCCD-1CCA-433A-BB4D-97B96BF7AB63&displaylang=en
Visual Studio 2008http://www.microsoft.com/downloads/details.aspx?FamilyID=7bf65b28-06e2-4e87-9bad-086e32185e68&DisplayLang=en
Have a great day!
Good to know this.
Anyway I strongly recommend setting up SPS development environment on win 2003 server.
Thak a lots
this is gold! thanks.
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
i dont have Web Server Extensions\12.0 under the Shared Tools .. So how do i add this ..
Just add the "Web Server Extensions" and "12.0" keys yourself...
Right click on "Shared Tools" --> New --> Key
Good work. It's running
Thank you a lot! Having to install dev tools on a server is crazy.
I could install the tool but it didn't help me create a sharepoint project
could you please help me.
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
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.
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
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