5

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?

user3462522
  • 359
  • 3
  • 12

1 Answers1

10

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.

Per Jakobsen
  • 32,409
  • 1
  • 33
  • 62