[WebToolsE2E][Aspire] In VSCode/CLI, update the TargetFramework of the Aspire project from net9.0 to net10.0. After running the project, the dashboard page is blank. #6765
Run dotnet new install Aspire.ProjectTemplates::9.0.0
REPRO STEPS
Open CMD, run following command to create an Aspire Starter App project
dotnet new aspire-starter -o aspire1
cd aspire1/aspire1.AppHost
Manually update the TargetFramework of all projects from net9.0 to net10.0
Use dotnet run to run the project
NOTE: In Visual Studio, update the TargetFramework of the Aspire project from net9.0 to net10.0 and run the project. The dashboard can be displayed normally.
ACTUAL
Aspire dashboard page is blank.
EXPECTED
Aspire dashboard page can be displayed normally.
INSTALL STEPS
dotnet new install Aspire.ProjectTemplates::9.0.0
REPRO STEPS
dotnet run
to run the projectNOTE: In Visual Studio, update the TargetFramework of the Aspire project from net9.0 to net10.0 and run the project. The dashboard can be displayed normally.
ACTUAL Aspire dashboard page is blank.
EXPECTED Aspire dashboard page can be displayed normally.