Develop sharepoint project without having local sharepoint installation - sharepoint

I have a SharePoint 2013 server on a remote machine.
I installed this: https://www.microsoft.com/en-us/download/details.aspx?id=35585
on my development system then follow this steps.
Right click on VS 13.
Run as administrator.
File >> NEW >> Project
Templates >> SharePoint Solution
Select SharePoint 2013 - Empty Project
I got this error.
The required version of SharePoint Foundation 2013 or SharePoint Server 2013 is not installed on this system. SharePoint must be installed on the local system to develop SharePoint solutions.
Is it possible to develop SharePoint project on development system?

It depends on what type of solution you want to develop. The error you get says:
SharePoint must be installed on the local system to develop
SharePoint solutions.
so you can't develop SharePoint solutions
but you can develop apps for SharePoint.

Related

SharePoint 365 Development - Visual Studio 2012 - Actions4 file

I'm looking for some advice. I need to develop some custom workflow activities for a SharePoint 365 online solution. To that extent I do not have a local install of SharePoint 2013. I am using Visual Studio 2012, and have the office developer tools for VS 2012 installed.
When I try to create an empty project for SharePoint 2013, I get the error stating:
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
Now, I understand that for SharePoint projects in the past that a local install was required, but with this being online, I do not have that luxury.
Ideally I'd like to identify a way in which I can create an empty project without the need for said local install.
Further to this, I have been able to create an "Apps for SharePoint 2013" project, into which I can create a custom workflow activity. I'm working through some excellent blog posts on how to develop custom activities and it seems to be working file to a point.
What I am now struggling with is that VS2012 is supposed to create an .actions4 file which I can edit to reflect what the workflow activity requires etc. I do not have this file, nor do I understand how I get it.
I would also appreciate information on how I can deploy this custom workflow activity to SharePoint Online so that I can use it in SharePoint designer workflows.
Appreciate there is a lot of asks here, but appreciate any help that people can provide.
Many Thanks,
Grant
Hope this link will help you to create workflows in office 365 . you cannot degug but you can allow visual studio to think that SP is installed on your machine.
https://sharepoint.stackexchange.com/questions/59065/how-visual-studio-checkes-that-sharepoint-has-been-installed-on-my-local-pc

SharePoint server is not installed on this computer

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.
I have Copy the whole registry keys to my local pc.
Copy the SharePoint dlls at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI from sharepoint server to local machine.
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.
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.
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
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.

Do I need to have SharePoint 2013 installed on my local machine for web part development?

We have a SharePoint 2013 server on a remote machine. Can I develop web parts without installing SP server on my development PC or VS2012 on the remote machine? There seem to be conflicting messages about this on various sites.
I simply want to be able to build my apps locally and deploy to SP2013. Is there an SP2013 "lite" solution that will help me achieve this on my dev machine?
Yes, you can develop Apps for SharePoint 2013 without installing SharePoint itself. You will need to install the following:
Install the Microsoft Web Platform Installer from
http://www.microsoft.com/web/downloads/platform.aspx
Install the SharePoint 2013 Development SDK from
http://www.microsoft.com/en-us/download/details.aspx?id=35585
You will also need to set up an App Catalog for your SharePoint site to make use of the apps you create.
Note: If you want to develop solution (wsp) files then you will still need to have SharePoint installed on the dev machine.
In SP 2013, it is now available to develop apps without installing SP directly, using Visual Studio 2012.
Please refer to this article
As noted:
With previous versions of the SharePoint tools in Visual Studio,
developers had to install SharePoint Foundation or SharePoint
Server locally before they could build SharePoint solutions in
Visual Studio. This requirement increased the cost of development not
only because more copies of SharePoint were needed but also because
more capable systems were required to host them.
By using the SharePoint development tools in Microsoft Visual Studio 2012 with
Microsoft SharePoint 2013, however, you can create app for SharePoint
solutions on a system by using a remote installation of SharePoint.
You don't have to install SharePoint 2013 on your local system. This
capability is known as remote development.
..and, for WSP SharePoint 2013 solutions, SharePoint 2013 requires Windows 2008 R2, so your development workstation can't be Windows 7 ... so slap on some memory, stand up a 2008 VM and reinstall everything again. Not good - wish there were a better way for sure.

Sharepoint is installed but still get the error "Sharepoint server must be installed on this computer"

I am a newbie and I have installed Win server 2003, SP 2007 and VS 2010 for creating a web part. However, when I try creating a web part, it says
A sharepoint Server is not installed on this computer. A Sharepoint server must be installed to work with Sharepoint projects
Please help!!!
It's because the out-of-the-box Visual Studio 2010 templates are meant for SharePoint 2010 development. If you want to use Visual Studio 2010 for SharePoint 2007 development, you cannot use these templates.

VS 2010 installed but i have share point server 2010 in my remote machine

I have VS 2010 installed and i have share point server 2010 in my remote machine. So is it possible to do share point 2010 development in VS 2010 without having share point 2010 server on same machine?? Currently it is prompting me and giving message that share point server should be installed. Is there any hack to get out of this.
Thanks in advance !!
--Raghav
It is possible but you won't be able to use the tooling in Visual Studio. You'll have to build, deploy and test everything manually.
Instructions on how to do this can be found in Chapter 2 of Inside SharePoint Foundation 2010
http://msdn.microsoft.com/en-us/library/ff798298.aspx#InsideSP14_Ch2_DSS
If you wish to use the Visual Studio 2010 tooling for SharePoint development, you'll need to install SharePoint 2010 on your development box. Instructions on how to do so can be found here
http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx
No you can not do the development unless untill you have visual studio installed on server hosting SharePoint. You can use Window7 or Windows 2008 server with sharepoint installed on them

Resources