【问题标题】:The Visual Studio 2022 Error "Failed to launch debug adapter. Additional information may be available in the output window."Visual Studio 2022 错误“无法启动调试适配器。其他信息可能在输出窗口中可用。”
【发布时间】:2022-01-19 07:13:54
【问题描述】:

我将 Visual Studio 2022 用于 Blazor WebAssembly 项目和 ASP.NET Core API 项目。我独立运行这些项目,它们在 Edge、Chrome 浏览器中运行良好,但是当我选择 Multiple-Startup 项目时,我遇到以下错误。


微软视觉工作室

发生了一个或多个错误。

无法启动调试适配器。输出窗口中可能会提供其他信息。

操作被取消。

好的

【问题讨论】:

  • VS2022 哪个版本? Wasm 和 API 项目之间有什么关系?它们是来自托管模板还是您设置了 2 个独立项目?
  • 在哪些 URL(端口号)以及它们的启动顺序上?

标签: .net asp.net-core blazor-webassembly visual-studio-2022


【解决方案1】:

尝试在目标项目的系统托盘中的 IISExpress 后台进程中停止站点。然后退出 IISExpress 后台进程本身。

参考这篇文章:

https://techstrology.com/failed-to-launch-debug-adapter-the-program-has-exited-with-code-1-0xffffffff-visual-studio-failed-and-crashed/

【讨论】:

    猜你喜欢
    • 2022-06-28
    • 1970-01-01
    • 2022-10-18
    • 2020-03-05
    • 2022-06-28
    • 1970-01-01
    • 2012-03-21
    • 2021-03-21
    • 2013-01-21
    相关资源
    最近更新 更多