Hi all,
I’m new to SharePoint 2016 and never touched SharePoint after SharePoint 2010 version. I don’t have much experience in SP2010 even.
I need to create a visual web part for SharePoint Server 2016. SharePoint server 2016 is installed in a different server. To create and deploy a visual web part, do I have to use the same server machine? Can’t I use my own machine to create a visual web part and deploy that WSP later?
When I try to create a visual web part from my own machine it says “The required version of SharePoint Foundation or SharePoint Server is not installed on this system. The target Version of the SharePoint project is 15.0”
Are we suppose to create SharePoint add-ins only from a local machine?
Please help
Thilangi
First question to ask your question. “Do I need a Visual Web Part?”. While this definitely was the method for development back in SharePoint 2010 days, the model has changed quite a bit. New techniques are being used for building web parts.
Second, in order to development against SharePoint using server side code (visual web part), you MUST have SharePoint installed and running on the machine you are developing the code. Hence the error you are seeing… because you do not have SQL or a SharePoint instance on your machine.