I am facing issue of VS not detecting my sharepoint site url. I know how to fix it, but why bug is not still solved properly ?

According to this blog, I should add it to host files, but when i ping my site using this,


ping works, but it doesn't work in visual studio as you see above.

My network admin says I don't need to add address to the host file point to, so why do i need to add it?

  • platinumdogs.me/2014/01/14/… Feb 9, 2015 at 8:50
  • Screen shot is from the blog post and not from your environment, which is a bit confusing.
    – Jussi Palo
    Feb 9, 2015 at 9:43
  • @JussiPalo removed it Feb 9, 2015 at 12:01
  • Voting for close as it is Visual Studio bug and there already is a workaround. Please contact Microsoft Support regarding the issue and for ETA on the fix.
    – Jussi Palo
    Feb 10, 2015 at 11:23
  • @JussiPalo Not asking for ETA, asking for if anyone knows if it has been fixed, if you can confirm that no one in this community knows that bug has not been fixed - I will accept your argument... Feb 10, 2015 at 12:47

1 Answer 1


Based on my understandings...

When a new site collection is created it needs to add a registry key to SharePoint tools at this address,


But it doesn't adds it automatically, now if we add link to hosts file it does adds the link to registry key.

Again what I understood is that Visual Studio only looks at hosts files OR registry entry to detect your site collection.

I may be completely wrong but this is what I explained to my network admin.

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.