【问题标题】:VS2017 in Windows 7 "An error occured attempting to determine the process id of dotnet.exe"Windows 7 中的 VS2017 “尝试确定 dotnet.exe 的进程 ID 时发生错误”
【发布时间】:2018-08-08 13:02:21
【问题描述】:

项目属性 -> 启用 SSL:false(关闭)

选择“IIS Express”作为调试选项

“IIS 10.0 Express”已安装

总是低于错误

任何人都可以提出解决办法吗?

已经尝试过以下网址,还是没有希望

An error occurred attempting to determine the process id of dotnet.exe which is hosting your application. One or more error occured

https://stackoverflow.com/a/43351447/2089963

还尝试卸载并重新安装 IIS Express 10。有什么帮助吗?

环境:Windows 7(x64) Visual Studio 2017 (15.7.4) + .net Core 2.0

【问题讨论】:

  • 你能单独运行Kestrel成功吗?该错误通常表明dotnet.exe 已退出。
  • 我没有红隼,需要安装吗?仅具有 IIS-10。 Bcos 相同的代码在 Windows10 中运行良好,没有 Kestrel
  • 如果您在项目文件夹中从 CMD 执行“dotnet run”命令会发生什么?
  • 对我来说 dotnet run 和 ctrl f5 工作,只有调试失败

标签: .net asp.net-core visual-studio-2017 iis-express-10


【解决方案1】:

可能的修复:

也许您可以尝试删除 .vs 文件夹。

复制自@snys98 对此帖子的回答:An error occurred attempting to determine the process id

抱歉,您已经尝试过了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-04-19
    • 1970-01-01
    • 1970-01-01
    • 2016-01-14
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多