gpt4 book ai didi

c# - 无法在 Visual Studio 2017 RC 中启动 IIS Express

转载 作者:太空狗 更新时间:2023-10-29 22:57:15 24 4
gpt4 key购买 nike

有一个 Web 应用程序可以在 Visual Studio 2015 Update 3 中完美运行。我将项目移植到 Visual Studio 2017 RC 并编译成功。调试应用程序时,IIS Express 在将以下消息转储到 VS 2017 RC 的输出 Pane 中后终止:

The program '[7896] iisexpress.exe: Program Trace' has exited with code 0 (0x0).
The program '[8488] dotnet.exe' has exited with code 0 (0x0).
The program '[8488] dotnet.exe: Program Trace' has exited with code 0 (0x0).
The program '[7896] iisexpress.exe' has exited with code 0 (0x0).

有什么方案可以使项目运行并可调试?

最佳答案

在我使用 Visual Studio 2017 Community Edition 的情况下,我尝试了以下操作:

  • 删除 Documents 中的 IISExpress 配置文件夹
  • 删除项目根目录下隐藏的.vs
  • 重新启动 Visual Studio 2017 和计算机

在我重新运行 Visualt Studio 安装程序并选择选项“修复”之前,没有任何效果。然后不知何故一切都开始工作了。

关于c# - 无法在 Visual Studio 2017 RC 中启动 IIS Express,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41175554/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com