4

When creating a SharePoint project in Visual Studio on my windows 7 machine I receive this error.

The required version of sharepoint foundation or sharepoint server is not installed on this system. The target version of SharePoint project is 15.0.

I've done some reading and learnt that I can make this work on a remote machine. My question is, will using Visual Studio on a remote machine result in reduced functionality, what functions would be lost?

1 Answer 1

3

Any server-side code development (via .NET/C#/VB) using the Microsoft.SharePoint objects is going to give you trouble with Server Side Development if you do not have SharePoint installed. The great bulk of developers that I've seen setup a separate Dedicated Virtual Machine (using their favorite Hyper-Visor) on the local box if powerful enough, or in a cloud/remote setup if not. The Virtual Machine runs a Server grade OS (Server 2008/2012/2016), installs SharePoint and Visual Studio on the same box and the machine is up and running.

It's a bit troublesome, but it's worth it long term for the grief, and a good learning experience in setting up a SharePoint environment if you're relatively new to SharePoint.

Now if you're only developing Store Apps (basically client-only facing SharePoint Apps) you can get away without the server assemblies, but even then it's nice to have the SharePoint server nearby if you can help it.

6
  • 1
    Do you mean setup the SharePoint development environment on their local machine, or on a dedicated virtual host? Commented Jan 6, 2016 at 22:39
  • If powerful enough, setup a virtual machine locally on your dev box with a Client Virtual Machine tool like VMWare Player or VMware Workstation. If not, get a remote virtual machine somewhere and work accordingly. I edited my question to better clarify.
    – tekiegreg
    Commented Jan 6, 2016 at 22:55
  • Even a SharePoint development environment requires Active Directory and a Domain Controller, does this mean I need to setup an additional AD/DC machine? Commented Jan 6, 2016 at 23:20
  • I would recommend setting up a domain or joining an existing one. Most people box a SharePoint dev machine in its own domain on the same server or join another Developer Domain built for this purpose. There are a few sneaky tricks to setup a SharePoint machine without Active Directory but it can be tricky.
    – tekiegreg
    Commented Jan 6, 2016 at 23:25
  • Awesome information, can the SharePoint all in one server also be a DC and AD server? I thought this wasn't possible? Commented Jan 6, 2016 at 23:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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