locked
Visual Studio for Sharepoint 2016 RRS feed

  • Question

  • Hello All,

    We have a new sharepoint 2016 on-premise environment. Now we want to build custom applications for sharepoint, which version of visual studio should we use. And secondly, Do we need Visual studio Enterprise version of it OR can we use Visual studio Pro to develop these sharepoint solutions. I am really confused because there is hell lot of difference in Cost between these versions(VS pro is lot cheaper than VS enterprise, almost 1/6th.) If possible, can anyone please include an approximate license cost per farm for each of these.

    And Also we are trying to install this on the client side rather on the server side. So I would really appreciae if any one could give me an idea on how to install this on client side(CSOM) and make this to work (i.e develop shaepoint solutions).

    Please advice. Thanks for your help!!

    regards, 


    Praneeth


    Wednesday, October 12, 2016 8:27 PM

Answers

  • Hi,

    First of all if you just want to develop custom SharePoint solution from client side and you are not going to install visual studio on server machine did you mean that you only creating the Sandbox solution or going to use client object model

    To use Server object model and to have deploy farm solution [ Full trust code] you need to install the Visual studio on your DEV SharePoint Server machine only.

    Check this article to know what is difference between two custom solution and how we can develop and deploy to SharePoint site.

    https://msdn.microsoft.com/en-us/library/office/jj163902.aspx?f=255&MSPPError=-2147217396

    SharePoint 2016 solution you can develop using lower version of Visual studio as well you no need to have latest version of VS like VS 2015.

    If you don't care about features like CodeLens or TFS integration then you can likely use VS 2015 Community edition which is free. It does include integration with Visual Studio Online and Git and some of the features for Azure subscriptions

    If Community edition doesn't provide all of the features you're looking for then VS 2015 Professional will suit your needs. The Enterprise edition is useful if you require additional tooling for advanced testing and lab management.

    Here is a comparison chart which will give you a birds-eye view of the differences between the editions:https://www.visualstudio.com/en-us/products/compare-visual-studio-2015-products-vs.aspx


    KRISHANA KUMAR

    SharePoint Architect

    Mosstechnet-kk.com

     

    Please click "Mark As Answer" if this post solves your problem or "Vote As Helpful" if it was useful

    Wednesday, October 12, 2016 8:48 PM

All replies

  • Hi,

    First of all if you just want to develop custom SharePoint solution from client side and you are not going to install visual studio on server machine did you mean that you only creating the Sandbox solution or going to use client object model

    To use Server object model and to have deploy farm solution [ Full trust code] you need to install the Visual studio on your DEV SharePoint Server machine only.

    Check this article to know what is difference between two custom solution and how we can develop and deploy to SharePoint site.

    https://msdn.microsoft.com/en-us/library/office/jj163902.aspx?f=255&MSPPError=-2147217396

    SharePoint 2016 solution you can develop using lower version of Visual studio as well you no need to have latest version of VS like VS 2015.

    If you don't care about features like CodeLens or TFS integration then you can likely use VS 2015 Community edition which is free. It does include integration with Visual Studio Online and Git and some of the features for Azure subscriptions

    If Community edition doesn't provide all of the features you're looking for then VS 2015 Professional will suit your needs. The Enterprise edition is useful if you require additional tooling for advanced testing and lab management.

    Here is a comparison chart which will give you a birds-eye view of the differences between the editions:https://www.visualstudio.com/en-us/products/compare-visual-studio-2015-products-vs.aspx


    KRISHANA KUMAR

    SharePoint Architect

    Mosstechnet-kk.com

     

    Please click "Mark As Answer" if this post solves your problem or "Vote As Helpful" if it was useful

    Wednesday, October 12, 2016 8:48 PM
  • Thanks for you reply Krishna Kumar!!

    Based on your suggestion we are planning to go with Visual Studio professional.

    And yes, we would like to develop only sand-box solutions(only for creating forms and webpart pages). So could you please mention few procedures to create sharepoint solutions on client based visual studio. We are no way going to have VS in sharepoint server.

    Thanks


    Praneeth

    Wednesday, October 12, 2016 11:37 PM
  • Hi,

    It’s recommended to develop add-in instead of sandbox solution, you could check more details below:

    http://www.codeproject.com/Articles/1113967/Sandboxed-Solutions-in-SharePoint

    If you just develop SharePoint add-in, you didn’t need SharePoint installed in server.

    https://social.technet.microsoft.com/Forums/office/en-US/96ccd055-5c64-4979-8757-c07f5caf234c/developing-sharepoint-2016-solutions-with-remote-installations?forum=SP2016

    For developing SharePoint add-in, you could check below links for more details:

    https://msdn.microsoft.com/en-us/library/office/jj163794.aspx

    Hope this could help.

    Best Regards,

    Lee


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Thursday, October 13, 2016 6:50 AM
  • Hello Lee,

    Your links for the Sharepoint Add-ins were really good, but in my case I majorily work on creating new visual webparts, event listners, etc., So I believe that I have to go for sand-box solutions (please correct me if I am wrong).

    So, I would really appreciate if you could provide me a step-by-step guide for running VS (for sand-box solns) for Sharepoint, Cause right now I am getting an error that "sharepoint server 16.0 is not installed in the same machine....". I browsed through many articles but nothing was helpfull for me.

    Thansk in advance!!


    Praneeth

    Thursday, October 13, 2016 11:33 PM
  • Hi,

    For developing sandbox solution and the error, it’s because of you haven’t install SharePoint in your server.

    It’s recommended to install in your dev environment for developing/debugging.

    If you can’t install it in your dev server, try to check if this solution works for you:

    http://sharepoint.stackexchange.com/questions/92035/visual-studio-2013-remote-development

    Here is one tutorial for your reference.

    http://www.ashokraja.me/articles/How-and-where-to-start-developing-SharePoint-2013-projects-in-Visual-Studio-2012

    Best Regards,

    Lee


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Monday, October 17, 2016 4:45 AM
  • Make sure you use NCSSs (No Manage code sanc box solutions) check the below article 

    Deprecation of Custom Code in Sandboxed Solutions

    Well try to go with apps in SharePoint which are isolated with CSOM


    http://www.abdulazizfarooqi.wordpress.com Abdul Aziz Farooqi [BizTalk & SharePoint Consultant] MCPD Web & MCPD SharePoint 2010


    Monday, October 17, 2016 4:54 AM