I have SharePoint 2013 installed on a VMware machine, I can also create and deploy projects using VS 2012. I’m trying to create a SharePoint 2013 Project from my host PC with Win 7 64b, where I also have VS 2012 installed. I have installed Microsoft Office Developer Tools for Visual Studio 2012 using the official instructions.
On my host machine, I can’t create the SharePoint project and do SharePoint development and get this error:
SharePoint not installed. The required version of SharePoint foundation 2013 or SharePoint server 2013 is not installed on this system. To develop SharePoint solutions or browse SharePoint connections in server explorer, SharePoint must be installed on the local system. Make sure that the local server referenced by the SharePoint project exists.
My environment is:
Navigate to https://code.visualstudio.com/download, download the relevant version and install it. Once you open up VS Code, go to your extensions and search for “sharepoint”. Then install SPGo, this is the tool that will allow you to connect to the remote SharePoint environment.
SharePoint offers a Web-based collaboration platform. Visual Studio provides many project templates for creating SharePoint sites and content, including list definitions, workflows, business data connectivity models, and site definitions.
Your host PC does not have SharePoint installed. A vmware instance is considered as a remote installation of SharePoint, it could just as well have been installed on an external server.
If you want to develop using the standard SharePoint project templates you need to run Visual Studio on the same computer/server as where SharePoint IS installed. If you don't like this concept you can have a look at the Remote Apps for SharePoint 2013, but that is a different ball game.
Your screenshot points to an attempt to create a 2010 Empty project, but your text refers to 2013. I'm assuming that your working with 2013. The answer below is mostly appropriate for both however.
In 2010, you only had the option of SharePoint Projects - code that ran on the SP server. These are still available in 2013 (Empty Project, Visual Web Part etc.) To develop for this kind of solution you will need to have the appropriate run-time (i.e. SP2010 or SP2013 installed) on the development machine.
SP2013 introduced a new kind of project / model - the App. These solutions are not installed on the server but apply one or more config / library / list interactions via js/css and possibly other, off server web-services. These are called Apps. The MS documentation is generally consistent about this but it does require some attention when reading especially if, like me you can interchange app with project with solution.
So, to answer the question, the error message is correct - you are trying to start a 2010/2013 project without the runtime being installed on the same machine. If you'd like to develop a 2013 App then that can be done without the SP2013 product install but you will need a copy of the Office Developer tools for Visual Studio.
The MSDN Article has the 'important' clarification about Apps just below the first section
You can develop app for SharePoint solutions in Visual Studio 2012 if Microsoft SharePoint 2013 is installed on a remote server. However, you must install Microsoft SharePoint 2013 locally before you can develop other SharePoint solutions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With