Reputation: 189
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:
Upvotes: 5
Views: 15706
Reputation: 11
you must have installed sharepoint 2010 serve in your machine!, remote server is possible only for AppPart in SharePoint 2013
Upvotes: 0
Reputation: 843
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.
Upvotes: 1
Reputation: 1
go to Visual studio, click the project and in properties, go to Site URL and enter the url for the local machine ie the server name as running in iis. alternatively go to server explorer and under server connections add your connection.
Upvotes: 0
Reputation: 1
me too faced this issue but I managed to resolve this issue with simple steps:
Download officetools_bundle from this direct link http://go.microsoft.com/fwlink/?LinkID=279063&clcid=0x409
Run the setup and allow it to complete.
Open visual studio 2012 and enjoy developing apps for SP 2013.
Hope it helps.. Cheers!!
Upvotes: 0
Reputation: 26297
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.
Upvotes: 4