-
Notifications
You must be signed in to change notification settings - Fork 458
Open
Labels
Description
Repro steps:
- Install version 4.1.1.
- Execute
func init --worker-runtime dotnet-isolated
command to create a new dni app. - Install 4.1.2
- Execute
func init --worker-runtime dotnet-isolated --target-framework net10.0
command to create a new net10 dni app. - Observe the error saying "net10.0' is not a valid value for --Framework"
C:\temp\Apps\ct-test>func init --worker-runtime dotnet-isolated --target-framework net10.0
Error: Invalid option(s):
--Framework net10.0
'net10.0' is not a valid value for --Framework. The possible values are:
net48 - Target .NET Framework 4.8
net6.0 - Target .NET 6
net7.0 - Target .NET 7
net8.0 - Target .NET 8
net9.0 - Target .NET 9
For more information, run:
dotnet new func -h
For details on the exit code, refer to https://aka.ms/templating-exit-codes#127
Error creating project template
See internal thread here.
FrulfumpFrulfump