dotnet / aspire

Tools, templates, and packages to accelerate building observable, production-ready apps
https://learn.microsoft.com/dotnet/aspire
MIT License
3.8k stars 450 forks source link

[WebToolsE2E][Aspire] Restarting the project in Resources for 9.0 blazor web app, an 'Exception Unhandled' error occurred in VS. #6372

Open vmykagapuz opened 1 week ago

vmykagapuz commented 1 week ago

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2
  2. Install VS 17.12 P4 candidate

REPRO STEPS

  1. New Project > Blazor Web App > Individual Account > Auto > Global > .NET 9.0 (Preview) > Individual > checked 'Enlist in Aspire orchestration'> Create
  2. Build solution and run the project
  3. Restart the project in Resources

NOTE

  1. This is not reproduce in 8.0 framework

ACTUAL 'Exception Unhandled' error occurred in VS Image

EXPECTED The project in Resources can be restart successfully without an error.

joperezr commented 5 days ago

Thanks for the report @vmykagapuz. Can you please push the repro project into GH so that we can take a peek?

v-elenafeng commented 4 days ago

@joperezr This is a 9.0 Blazor WASM project with Aspire checked on the NPD. BlazorWASMAppWithAspire