Reputation: 51
I am new to SharePoint and I am using SharePoint 2013. I have installed the SharePoint server 2013 on one server and I want to create web parts from vs 2010. But my vs 2010 is present on different pc and I am getting the below error.
"A SharePoint server is not installed on this computer” in SharePoint 2013".
I have search on net and found some links. I have used the below link to create the web parts.
Link : http://sharepointcustomization.blogspot.in/2012/10/sharepoint-server-is-not-installed-on.html
So I have done the below chagnes to create a web parts.
Copy the necessary sharepoint dlls to GAC by using below command.
c:\Program Files\Microsoft Visual Studio 10.0\VC> gacutil.exe -i "c:\Microsoft.SharePoint.dll"
I have restared my pc and geting the same error as "A SharePoint server is not installed on this computer” in sharepoint 2013".
Can any one help me to resolve this problem.
Upvotes: 2
Views: 10800
Reputation: 114
As far as I know you need Visual Studio 2013 to develop SharePoint 2013 application.
Just one thing, if you are creating sharepoint apps you don't need to go through all steps in your link. Just go to this page and download the napa development tools.
And as the other people said, it is NOT a good idea to develop farm solutions on a server where SharePoint is not installed. You are practically begging for trouble and to be honest, it's really hard to produce anything without debugging possibilited.
Just my five cents.
Upvotes: 1
Reputation: 348
AFAIK you need to have the visual studio together with the SharePoint Server installed (in your case, VS2010 must be installed in you server). It seems that you have the same problem as this guy, check out Eric Herlitz answer SharePoint 2010 Development with Visual Studio as the other answer only pertains you to installing either sharepoint in your pc or vs2010 in your sharepoint server. You would only be limited to using Rest API and/or ClientContext API or external connectors.
Upvotes: 0
Reputation: 1275
In my experience it is still better to have SharePoint installed locally for development purposes. I highly encourage you to just virtualize your development environment as cod
Upvotes: 0