Visual Studio Debug “This site can't be reached”

前端 未结 2 635
太阳男子
太阳男子 2021-01-19 02:35

One of my projects has stopped being able to run debug.. From one moment to another I get the response \"This site can\'t be reached\" when running the debugger in VS2017. I

相关标签:
2条回答
  • 2021-01-19 02:57

    The problem for me turned out to be that my web.config had a rule that was rewriting the URL to use https instead of http. After I removed the section from my web.config, I was able to debug the site.

    0 讨论(0)
  • 2021-01-19 02:59

    I finally found an answer that worked for me here.

    It is suggested to uncheck "Edit and Continue" in the debugger menu. I combined this with (just to be sure) deleting the vs and the bin folders and restarted Visual Studio. I am not sure what the issue was, but it is solved now at least.

    0 讨论(0)
提交回复
热议问题