You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run dotnet new install Aspire.ProjectTemplates::9.0.0
REPRO STEPS
Create an Aspire App by running dotnet new aspire-starter -o aspire -f net10.0
ACTUAL
Cannot use command '-f' to create an aspire project with target net10.0.
Error: Invalid option(s):
-f net10.0
'net10.0' is not a valid value for -f. The possible values are:
net8.0 - Target net8.0
net9.0 - Target net9.0
EXPECTED
We can use the command "-f" to create an aspire project with TargetFramework of net10.0.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue @v-elenafeng. Yeah Aspire mostly is focusing on released versions of .NET for now, so we won't support .NET 10 templates for some time. Users that do want to use net10, they should be able to manually update the TFM of projects and that should just work.
INSTALL STEPS
Install SDK 10.0 [10.0.100-alpha.1.24571.14]
dotnet nuget add source "dotnet10"
Install Aspire 9.0 template
dotnet new install Aspire.ProjectTemplates::9.0.0
REPRO STEPS
dotnet new aspire-starter -o aspire -f net10.0
ACTUAL
Cannot use command '-f' to create an aspire project with target net10.0.
Error: Invalid option(s):
-f net10.0
'net10.0' is not a valid value for -f. The possible values are:
net8.0 - Target net8.0
net9.0 - Target net9.0
EXPECTED
We can use the command "-f" to create an aspire project with TargetFramework of net10.0.
The text was updated successfully, but these errors were encountered: