[AspireE2E] With SDK 9 installed, the default TFM when creating an Aspire project is .NET 10.0.
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
**REGRESSION INFO**: Not a regression for 13.x
**INSTALL STEPS**
1. Clean machine: Win11 x64 25h2 ENU
2. Install SDK 9.0.311 latest release build
3. Install Aspire.ProjectTemplates v13.1.2 by running `dotnet new install Aspire.ProjectTemplates::13.1.2`
**REPRO STEPS**
1. Running `dotnet new aspire-starter -o AspireApp1`, an error reported.
Note: I can add the `-f` parameter to specify net9.0, and it will create successfully.
**ACTUAL**
When creating a project using the dotnet CLI, the default TFM version is usually the same as the latest installed SDK version (i.e., if SDK 9 is installed, the default TFM is .net 9.0), but this is not the case when creating an Aspire project.
Contributor guide
Assessment
This issue has not been assessed yet.