New to StackOverflow so sorry if I'm doing this wrong. Trying to get set up with SharePoint 2016 Development. Moving from SP2010 and need to look into getting some things updated. Have a 2016 single server farm set up for evaluation/development and have VS2015 installed on machine, but cannot for the life of me get SP2016 development templates to show up in VS. I had them briefly after installing the Office Development Tools preview, but after upgrading it to update 2 they're gone again! Please help.
Also, looking for good information on converting SP2010 projects to SP2016 if that's possible.
You need to install: Microsoft Office Developer Tools Preview 2 for Visual Studio 2015
Related
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
When going to 'Add or Remove Features ' > Microsoft Office > Microsoft Office Infopath > .NET Programmability Support > .NET Programmability support for .NET Framework version 2.0 > Visual Studio Tools for Applications (set this to "Run from my computer"), I get message, Microsoft Office Enterprise 2007 configuration did not complete successfully. I have the prerequisites installed so I'm not sure the reason VSTA won't install. Does anyone have any idea? I have not found any information regarding this particular issue. Thank you.
Okay i got mine to work now. i simply uninstalled InfoPath by changing
Microsoft Office Professional Plus 2007 installation in appwiz.cpl (Programs & Features).
When running the Office Setup again i selected every package below InfoPath
(sorry for the screenshot beeing in german but i rly didn't get the installation wizard to change it's language, i tried everything.)
Hope it works for you.
cheers!
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.
I've installed the WSPBuilder extension for Visual Studio 2010 and I'm looking for a walkthrough of how to create a deployment package for my web-part. Can anyone point me to a good resource? Everything I find seems to be directed towards VS 2008 and it creates the folder structure differently.
Thanks!
The documentation you have found already should be close enough - the hive folder is named "SharePointRoot" instead of "12", but aside from that it's all the same for basic usage.
Developing for SharePoint without having SharePoint on the dev box is going to be fairly painful whatever method you use though. I have a PowerShell script that deploys a WSP on another server so I can use the same development environment for 2007 and 2010 - it works but is a lot slower than the local copy to GAC or hive when making small changes. The error you are getting with VS2008 can probably be fixed by running visual studio as administrator.
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