Developing Sharepoint without Sharepoint installed

Problem

There are times when you want to develop Sharepoint solutions without having Sharepoint environment installed – i.e. when you want to build solution for Sharepoint Online. So you open Visual Studio, pick Sharepoint solution template, hit ‘ok’ and…

 

Cannot connect to the targeted site. This error can occur if the specified site is not hosted on the local system. SharePoint solutions work only with locally-installed versions of Sharepoint Foundation or SharePoint Server. Remote development is supported only for SharePoint Add-ins

or
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

 

You may think: “Why would I even need SP environment for that? I just want to build a solution for SP Online, not SP On-prem”. And I must agree with you. Even though you can develop Sharepoint Apps (Add-ins) having only Office Development Tools installed (without whole SP server) there are many scenarios where SP Apps are not an option.  So what to do in such situation?

Solution

There are 2 solutions: Continue reading “Developing Sharepoint without Sharepoint installed”

Sharepoint solutions vs SPFx vs Sharepoint Apps

  • “I’m so confused with all this SharePoint Framework, apps, solutions…I just wanted to develop for Sharepoint!”
  • “What can I use SharePoint Framework (SPFx) for? Can I use it for branding?”
  • “When should I pick custom SharePoint solution over SharePoint Framework or SharePoint App?
  • “How can I make elevated privilages in sharepoint hosted app?”

During my years of experience in SharePoint development I’ve seen those questions many times. They were asked by IT devs of my clients, by users of tech blogs/forums, my colleagues and also by myself. Since you’re here I’m assuming assume that you are confused a little bit too but don’t worry. We know what you feel. That’s why we’ve created this post.

Continue reading “Sharepoint solutions vs SPFx vs Sharepoint Apps”