I'm trying to create a SharePoint project on Visual Studio 2015.

enter image description here

Validate gives this error:

enter image description here

I then updated C:\Windows\System32\drivers\etc(hosts file) with the line:

(IP Address of server) elsanet.esl.au

Now I get this error: enter image description here

What to do to fix this?

1 Answer 1


In order to develop SharePoint Solutions (as opposed to Add-ins/Apps) you have to run SharePoint on the machine running Visual Studio and the Site you you debug on must be one hosted by that SharePoint Farm.

Before you continue down this road make sure you really want to create a SharePoint Solution.

Your Answer

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

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