When we are creating a SharePoint web part from Visual Studio, it requires a physical SharePoint Server installed on the machine. It shows the below error
How can we create a SharePoint Webpart for SharePoint Online without Sharepoint server?
When we are creating a SharePoint web part from Visual Studio, it requires a physical SharePoint Server installed on the machine. It shows the below error
How can we create a SharePoint Webpart for SharePoint Online without Sharepoint server?
You've not selected the correct project template. That error is shown when you try to create a On-Premises SharePoint 2013 solution on a non-SharePoint development environment. To create solutions for SharePoint Online, you should create a project using the App for SharePoint project template.