kickoff/registry hack

well. i hate writing intros so this won't really be one. but i just thought i should start out by saying hi. hi?

**awkward transition**

lately, i've been trying to figure out how to build web parts for sharepoint. almost every article/walkthrough i found referred to sharepoint tools in visual studio. visual studio 2010 (release candidate now available for download) has built-in tools for sharepoint development, and from what i can tell they look pretty cool and versatile. however, i wasn't able to "create" a sharepoint project in 2010 because i don't have a sharepoint server on my machine - and why would i? the other glitch was that the built-in tools are for sharepoint 2010, and i'm currently working with 2007.

new plan: i discovered that microsoft provides sharepoint extensions for visual studio 2008. when i tried installing, i got a similar error - no sharepoint services on my machine (which requires windows server OS). while searching online for a solution, i came across a brilliant registry hack that beautifully accomplished what i needed.

the idea here is to trick your machine into thinking it has sharepoint services installed, which will then allow you to install the visual studio extensions. it took about three seconds to perform, and worked like a charm. i haven't tested it on windows 7, but i know it works on xp and (apparently) vista.

here it is:

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

1 comment: