I am using Visual Studio 2022 for Blazor WebAssembly Project and the ASP.NET Core API Project. Weh I run these projects independently, they works fine in Edge, Chrome browsers but when I select Multiple-Startup projects, I am sessing the following error.
One or more errors occurred.
Failed to launch debug adapter. Additional information may be available in the output window.
Try to stop the site in the IISExpress background process in the system tray of the target project. Then exit the IISExpress background process itself.
Refer to this article:
Finally..... I resolved by modifying Tools-->Options-->Debugging--->General and enabling following two checkboxes as shown in image