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


01jul11:00 am12:00 pmConfab Live with Stoneridge – Dataverse Virtual Entities

14jul12:00 pm12:30 pmBeyond Reporting - What Business Intelligence Can Do For Your Agribusiness

15jul10:00 am11:00 amMastering the Production Floor

21jul10:00 am10:30 amThe Modern Manufacturer: Manufacturing Software in the Real World

21jul12:00 pm1:00 pmIs it Worth it to Upgrade to Dynamics 365 Finance and Supply Chain Management? - Everything AX Users Need to Consider

28jul10:00 am10:30 amLot Management for Batch Manufacturers in Life Sciences, Chemical and Food

28jul2:00 pm2:30 pmConsiderations for Successful Testing Plans for Major Releases of Dynamics 365 Finance and Supply Chain Management

29jul11:00 am12:00 pmConfab Live with Stoneridge – Integration Strategies for End User Success


04aug2:00 pm2:30 pmSimplifying Payroll and HR Management with ADP Workforce Now

10aug(aug 10)8:00 am11(aug 11)11:00 amPower BI for Dynamics 365 - Online Workshop

11aug10:00 am10:30 amThe Modern Manufacturer - Enterprise Asset Management

11aug12:00 pm12:30 pmBusiness Intelligence with Dynamics 365 Finance and Supply Chain Management – Game Changing Insights and Analytics

11aug2:00 pm2:30 pmUsing Technology to Manage Complex Sales Pricing, Commission, and Rebate Programs

18aug10:00 am11:00 amTop Five Reasons Why NOW is the Right Time to Move from Salesforce to Dynamics 365 Customer Engagement

18aug10:00 am12:00 pmIntro to Power BI for Dynamics 365 Business Central – Online Workshop

18aug12:00 pm1:00 pmSolving the Biggest Challenges in Agribusiness Through Innovation and Technology

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!