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

I have Visual Studio on my desktop (Windows 7 Enterprise). What is the bare minimum I need to install in order to make sure I can reference SharePoint objects?

Following is my justification.

share|improve this question

closed as not constructive by Jesus Shelby, Ryan, Falak Mahmood, Hugh Wood, RJ Cuthbertson Feb 8 '13 at 3:38

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Hey anyone? so is not possible to develop web part or customized infopath form (where I have to add sharepoint reference) in non sharepoint server? – Robin Li Jul 31 '12 at 15:03
did you read the MS's documentation? Everything is described – Steve B Jul 31 '12 at 15:10
and customized infopath form can be customized without sharepoint on the box. – Steve B Jul 31 '12 at 15:11
Official Setup via MS:… Third part refrences on just copying the DLL's:… - Many more available from a generic search on Google or Bing. – Jesus Shelby Jul 31 '12 at 15:44
@JesusShelby: Hey I was looking for what you have posted. Just copying the dll and maintain the folder structure. Hope it will solve my issue. Can you post your suggestion as an answer? – Robin Li Jul 31 '12 at 16:46
up vote 2 down vote accepted

See Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008 for complete instructions on requirements and what you need to install

share|improve this answer
1)It is incorrect and exaggerated 2)This is just straight impossible for development against Sharepoint Online (Office 365) – Gennady Vanin Геннадий Ванин Aug 8 '12 at 3:27

In addition to Rob's link, I would like to mention that installing SharePoint 2010 on Windows 7 is only recommended for development. It it not recommended/supported for deployment or hosting production.

Although it is possible to do SharePoint development on Windows 7 , I like to have the development environment as close to the production environment as possible to avoid any deployment issues. Depending on how much RAM you have (>=8GB) , you could setup a Windows Server 2008 box on VirtualBox / Hyper-V and install SharePoint 2010 on that.

share|improve this answer
or simply boot on VHD (he's using Windows 7 Entreprise) and unleash the full power of his station. Had to argue months in a large entreprise to explain how silly it was to do development in Windows 7... – Francois Verbeeck Jul 31 '12 at 20:03
@Vardhaman Deshpande, in order "to have the development environment as close to the production environment" it is not necessary to develop on server. Develop on client machine deploying/run solutions onto server. It is standard approach in development. – Gennady Vanin Геннадий Ванин Aug 8 '12 at 3:30

I believe that Microsoft had been caught-22 by unmisunderstandings between Sharepoint's server and client tools/services developers and technical writers that resulted in misleading and incorrect documentation describing the necessary minimum for developing for Sharepoint development environment. That is, telling that development has to be on 64-bit machine and on server.
Except that it is incorrect, it is simply impossible for developing against Sharepoint Online (Office 365) where it is impossible to administer server or develop on it.

Developing on server is also senseless for me from many points which I believe a well-established approach and question.

I develop on Windows XP SP3 32 bit (x86) on 32 bit machine using Infopath Designer 2010 (32 bit) and Sharepoint Designer 2010 deploying to Sharepoint Online (Office 365), E3 (Enterprise) Plan already 3d month. Note that Windows XP or development on 32-bit machines are not even mentioned in Microsoft documentation.

I do not know any other way to use Infopath web part besides already having Infopath form already all ready and designed/"developed" in Infopath Designer. And it is irrelevant in 32 bit or 64 bit since Infopath forms or webparts, as well as solutions developed in Sharepoint Designer 2010 or Infopath Designer 2010 are not compiled on client development machine for its use on Sharepoint Server 2010 64 bit, they are being compiled dynamically on server for both 32-bit and 64-bit clients cross-platform.

Also, note that Infopath Designer 2010 use VSTA (Visual Studio Tools for Applications) for custom coding which, if you look into Help>About, is no more than truncated Visual Studio Studio 2005 with .NET 2.0 (C# 2.0/2005 and VB.NET 2.0/2005).

share|improve this answer

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