Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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

Closed
v-reinawang opened this issue Nov 22, 2024 · 7 comments

Comments

@v-reinawang
Copy link

INSTALL STEPS

  1. Install SDK 10.0 [10.0.100-alpha.1.24571.14]
  2. dotnet nuget add source "dotnet10"
  3. Install Aspire 9.0 template
    • Run dotnet new install Aspire.ProjectTemplates::9.0.0

REPRO STEPS

  1. Open CMD, run following command to create an Aspire Starter App project
dotnet new aspire-starter -o aspire1
cd aspire1/aspire1.AppHost
  1. Manually update the TargetFramework of all projects from net9.0 to net10.0
  2. 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.
Image

EXPECTED
Aspire dashboard page can be displayed normally.

@joperezr joperezr added untriaged New issue has not been triaged area-acquisition labels Nov 27, 2024
@joperezr joperezr self-assigned this Nov 27, 2024
@joperezr joperezr removed the untriaged New issue has not been triaged label Nov 27, 2024
@joperezr joperezr added this to the Backlog milestone Nov 27, 2024
@JamesNK JamesNK assigned adamint and unassigned joperezr Jan 22, 2025
@JamesNK JamesNK modified the milestones: Backlog, 9.1 Jan 22, 2025
@JamesNK
Copy link
Member

JamesNK commented Jan 22, 2025

This is a high impact bug. Prioritize fixing for 9.1 so it works when people use Aspire with upcoming .NET 10 previews.

I think the work is going to be in the dashboard to figure out what is breaking so assigned to @adamint.

cc @leslierichardson95

@JamesNK JamesNK added the 💥 blocking-release 💥 Issues that would block us from shipping/releasing label Jan 29, 2025
@adamint adamint removed their assignment Feb 4, 2025
@adamint adamint self-assigned this Feb 6, 2025
@danmoseley danmoseley removed their assignment Feb 7, 2025
@balachir
Copy link

@v-reinawang @v-elenafeng I realized that this issue was opened a while ago. I have a couple of questions about whether this issue still reproduces using the latest builds. Can you take a look on Wednesday?

  • For SDK 10.0 P1 (latest build) + Aspire 9.0 templates (latest released build), does this issue still reproduce?
    • If yes, can you update the INSTALL STEPS and REPRO STEPS in this issue to match the latest version of SDK 10.0
  • If you then install Aspire 9.1 templates (latest build) and repeat the scenario in this issue, does the issue reproduce with Aspire 9.1?

@adamint
Copy link
Member

adamint commented Feb 11, 2025

@v-reinawang @v-elenafeng I realized that this issue was opened a while ago. I have a couple of questions about whether this issue still reproduces using the latest builds. Can you take a look on Wednesday?

  • For SDK 10.0 P1 (latest build) + Aspire 9.0 templates (latest released build), does this issue still reproduce?

    • If yes, can you update the INSTALL STEPS and REPRO STEPS in this issue to match the latest version of SDK 10.0
  • If you then install Aspire 9.1 templates (latest build) and repeat the scenario in this issue, does the issue reproduce with Aspire 9.1?

This does repro using the latest builds. However, it might not be an aspire issue - instead an asp.net or blazor issue.

@lewing
Copy link
Member

lewing commented Feb 11, 2025

cc @maraf @MackinnonBuck

@lewing
Copy link
Member

lewing commented Feb 12, 2025

I wasn't able to reproduce this with 10.0.100-preview.2.25111.19 sdk

@lewing
Copy link
Member

lewing commented Feb 12, 2025

also working with 10.0.100-alpha.1.25077.2 sdk

@danmoseley danmoseley removed the 💥 blocking-release 💥 Issues that would block us from shipping/releasing label Feb 12, 2025
@Rita003
Copy link

Rita003 commented Feb 12, 2025

Verify that this issue is fixed after installing the latest SDK10.0.100-preview.1.25110.2 + Aspire 9.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants