Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SharePoint 2010 development without local server installation

I'd like to develop SharePoint 2010 web parts without local SharePoint installation. I mean I don't want to install SharePoint server because I don't need it and it's so huge.

I found some questions about this, but I still can't get it working. I found a blog entry about this: http://techblog.hk.agenda-asia.com/2010/10/29/create-sharepoint-project-without-install-sharepoint-server/

I tried to follow the instructions from that blog. Now I can create SharePoint 2010 projects with Visual Studio. Problem is that Visual Studio cannot find SharePoint dlls. Even if I copy them to local directory and add that folder to registry with key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v3.5\AssemblyFoldersEx\MyAssemblies (like blog entry adviced)

How could I tell Visual Studio where SharePoint dlls are?

like image 703
Stongkin Avatar asked Oct 18 '12 08:10

Stongkin


People also ask

Does SharePoint require Active Directory?

SharePoint Server 2019 requires a minimum Active Directory domain and forest functional level of Windows Server 2003 (native). For more information about Active Directory functional levels, see Forest and Domain Functional Levels.

What are the minimum software and hardware requirements to install SharePoint 2010?

Defining Hardware Prerequisites for SharePoint 201064-bit four core (minimum) processor. 8GB to 16GB of RAM (8GB for evaluation or testing, 16GB for production) 80GB of drive space for the system drive (plus twice as much space as the amount of RAM in the system)

Can SharePoint 2010 run on Windows Server 2016?

No, SharePoint 2010 cannot be installed on Windows Server 2016. Max supported in 2012 R2 for which you need the SharePoint 2010 with SP2 ISO. Workarounds are not supported (for example, SharePoint 2010 RTM or 2010 w/ SP1 ISOs).


1 Answers

You can get the DLLs from sharepoint from the ISAPI folder in the 14 hive:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI

Just copy the dlls to your local computer and reference them in your project to compile.

You will realise it's a great pain when you are debugging/deploying your projects as you wont be able to test your code locally.

UPDATE: The Sharepoint 2010 Evaluation machine is not available anymore. So the information bellow is not current anymore. The best option now is to get Sharepoint 2010 from MSDN, if you have a subscription obviously.

My advice is to get Microsofts 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1):

http://www.microsoft.com/en-au/download/details.aspx?id=27417

It's a virtual machine with Sharepoint 2010, and it comes with all the tools you need like infopath, and visual studio pre-installed.

The only problem is you will need 2008 server r2 to run it.

I have managed to successfully convert the machine to VMWare and I am happily running it under windows 7 by following instructions from this post:

http://sharepointyankee.com/2010/06/03/converting-the-sharepoint-and-office-2010-information-worker-virtual-machines-to-vmware-from-hyper-v/

Make sure you read the comments on that post as there are a couple of gotchas.

Also make sure you have a somewhat grunty machine. I am running it with an i7 with 8 gig ram, SSD, with 4 cores allocated to the VM and it runs smooth.

like image 131
Luis Avatar answered Sep 29 '22 03:09

Luis