Visual Studio 调试“无法访问此站点" [英] Visual Studio Debug "This site can't be reached"

查看:51
本文介绍了Visual Studio 调试“无法访问此站点"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个项目已停止运行调试.在 VS2017 中运行调试器时,我时常收到无法访问此站点"的响应.我尝试了以下找到的解决方案,但没有一个对我有用.

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 have tried the following solutions that I found, but none work for me.

  • 删除bin文件夹
  • 清理并重建解决方案
  • 卸载并重新加载解决方案
  • 删除.vs文件夹
  • 更改端口并创建虚拟目录

这些是我反复找到的建议解决方案,但没有一个对我有用.我可以尝试其他任何建议吗?

These are the suggested solutions I find over and over again, but none work for me. Any other suggestions I could try?

注意:此问题仅在一个特定应用程序中出现.

NB: This problem only arrises only with one specific application.

推荐答案

我终于找到了对我有用的答案 此处.

I finally found an answer that worked for me here.

建议在调试器菜单中取消选中编辑并继续".我将此与(只是为了确定)删除 vs 和 bin 文件夹并重新启动 Visual Studio 结合起来.我不确定是什么问题,但至少现在已经解决了.

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.

这篇关于Visual Studio 调试“无法访问此站点"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆