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
Copy file name to clipboardExpand all lines: src/Azure.Functions.Cli/Actions/LocalActions/InitAction.cs
+4-4
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ public override ICommandLineParserResult ParseArgs(string[] args)
116
116
117
117
Parser
118
118
.Setup<string>("target-framework")
119
-
.WithDescription("Initialize a project with the given target framework moniker. Currently supported only when --worker-runtime set to dotnet-isolated. Options are - \"net48\", \"net6.0\", \"net7.0\", and \"net8.0\"")
119
+
.WithDescription("Initialize a project with the given target framework moniker. Currently supported only when --worker-runtime set to dotnet-isolated. Options are - \"net8.0\", \"net7.0\", \"net6.0\", and \"net48\"")
// Default to .NET 6 if the target framework is not specified
334
+
// Default to .NET 8 if the target framework is not specified
335
335
// NOTE: we must have TargetFramework be non-empty for a dotnet-isolated project, even if it is not specified by the user, due to the structure of the new templates
thrownewCliArgumentsException($"Unable to parse target framework {TargetFramework}. Valid options are \"net48\", \"net6.0\", and \"net7.0\"");
340
+
thrownewCliArgumentsException($"Unable to parse target framework {TargetFramework}. Valid options are \"net8.0\", \"net7.0\", \"net6.0\", and \"net48\"");
0 commit comments