Programming with SharePoint without Having SharePoint Installed

by | Updated June 10, 2016 | Development, SharePoint

I’m not really a developer – I consider myself a hacker.  Someone who can get something developed if all the real developers were stranded on a deserted island with no Internet access.  However, one of the requirements for becoming a Microsoft Dynamics ERP partner is to have a team member pass the SharePoint 2010 Application Development test (70-573).  Therefore, I need to pass this test, which means I had better figure out a thing or two about programming in SharePoint 2010.

I don’t have SharePoint loaded anywhere – you can get a trial version of SharePoint 2010 here to install and test if you have Windows Server 2008 and SQL Server 2008 on a Virtual Machine or a Server.  I tried to install that on my pre-release build of Windows Server 2012 to no avail.  I then decided I could run it on my client machine (Windows 7 x64) and I found this good article about how to run SharePoint 2010 in a development environment.  I followed those instructions (the step about extract the files is a little off – the .exe is called sharepointserver.exe and to extract it you type sharepointserver.exe /extract:c:\SharePointFiles) and installed SharePoint on my machine.  However, when you try to configure SharePoint against a SQL Server 2012 install, you get another error.  There’s probably a workaround to this, but at this point, I was ready to move on.

I next downloaded the SharePoint 2010 SDK here, and that is a helpful thing to have.  Unfortunately, it doesn’t appear to bring the reference files with it.  I opened up a sample solution from inside SharePoint because I needed something to look at to help me understand how the pages were going to work (all of the samples are in .zip files, so you have to extract them before you can find the .sln files).  I opened up the SocialDataStatisticsWebPart solution, and of course, when I went to compile it, it wouldn’t compile without the SharePoint assemblies.

I scoured the Internet to try to find the assemblies for SharePoint, but I just got a number of articles talking about how to register them once you have them.  I realized I had a Dynamics AX VPC that had SharePoint installed, so I mounted that VHD and found the .dll files there.  I copied them to the SharePoint SDK folder on my Windows 7 machine and registered them in Visual Studio by going to Project > Add Reference and browsing to the SharePoint SDK folder on my machine.

At this point, I am able to write sample code with the IntelliSense and references I need.  This is probably more of a rant on how long it took me to get this to be usable, but I hope it helps someone save some time if they were in my same shoes.

Related Posts


Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events


06oct10:00 am10:30 amPreview of D365 Business Central Fall Release Features and Functionality

06oct12:00 pm12:30 pmInsider's Guide to New Features Available in the Fall Release of D365 Finance and Supply Chain

07oct11:00 am12:00 pmConfab LIVE with Stoneridge - Dataverse and Dynamics in Review – Let’s Get Technical

13oct12:00 pm12:30 pmWave 2 Release – What’s Coming for Dynamics 365 Sales and Customer Service

21oct11:00 am12:00 pmConfab LIVE with Stoneridge - Dataverse and Dynamics in Review – Let’s Get Functional

26oct(oct 26)9:00 am28(oct 28)5:00 pmStoneridge Connect Leadership and Community Conference


04nov11:00 am12:00 pmConfab LIVE with Stoneridge - Challenging the Development Paradigm

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!