1

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

SharePoint server error

How can we create a SharePoint Webpart for SharePoint Online without Sharepoint server?

2

1 Answer 1

3

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.

1
  • Ok thanks James. For web part creation what we need to do?
    – user53416
    Commented Apr 21, 2016 at 10:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.