【问题标题】:Visual Studio: Not able to run any project when setting x64 as platformVisual Studio:将 x64 设置为平台时无法运行任何项目
【发布时间】:2018-03-16 20:53:28
【问题描述】:

当我在 x86 上运行示例控制台应用程序时,一切正常。但是当我尝试使用 x64 时,什么都没有。我不断收到此错误:

64 位调试操作花费的时间比预期的要长

后来它说:

与远程端点的连接已终止

我几乎在网上尝试了所有解决方案,但无济于事。

  1. 以管理员身份运行 cmd.exe。输入并运行以下命令: netsh winsock 重置目录 tetsh int ip reset reset.log hit

  2. https://blogs.msdn.microsoft.com/dsvc/2013/12/31/visual-studio-debugging-issue/

  3. Error when trying to remote debug in VS2017 with MSVSMON

  4. Visual Studio 2012 A remote operation is taking longer than expected

我正在使用 VS 2017。我在 VS 2015 上也观察到了相同的行为。昨天一切正常,今天突然发生了一些事情,因为 x64 停止了工作。我没有安装任何新应用或任何可能导致此问题的东西。

这里真让人毛骨悚然。

【问题讨论】:

    标签: visual-studio visual-studio-2015 visual-studio-2017


    【解决方案1】:

    是的,这似乎是 Windows Defender 的一个问题,正在 Windows 端进行调查。到目前为止共享的解决方法是:

    在提升的 PowerShell 中,运行“set-mppreference -EnableNetworkProtection 0”。重新启动 VS。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-08-24
    • 1970-01-01
    • 2011-09-17
    • 2016-05-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多