SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

SP2010 and Visual 2010

I'm a site collection administrator and have been doing all SP development using SPD. However, I just got Visual Studio 2010 installed on my machine (SP hosted on a server elsewhere).

Question is, can I use visual studio w/o SP installed on my machine? I've tried w/no luck.

share|improve this question

Yes and no. You can use sharepoint web services, and/or CSOM (with CSOM you need the distributable assemblies found here). You cannot use Server side object model code. Using Web services or CSOM, you can develop solutions using Visual Studios with out being on a server.

More info on CSOM: More info on web services:

share|improve this answer

there are 3 different things

development, deployment and debugging

development can in fact be done through the "registry tweak" to bypass the "you need sharepoint installed" message when creating projects. you will need to grab the dlls from the isapi folder

Export the hive [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0] from the sp machine and install on the local machine

Set-ItemProperty -Path "HKLM:\Software\Microsoft\Shared Tools\web server extensions\14.0\" -Name "Location" -Value "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\"

remote deployment is also a possibility but as you will find, you are better off deploying the solution manually with powershell once you have it

debugging is also problematic, but not impossible



and here

share|improve this answer

For all practical purposes, NO. Technically, yeah, you can write apps that communicate with SharePoint, and ok, you can tweak Visual Studio to develop SharePoint solutions using a number of hacks, but if your intention is to actually get real-world work done in a timely fashion, this is a setup for failure.

SharePoint development is difficult enough with a properly configured dev environment.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.