-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Description
The new blazor-hybrid-web template in .NET 9 P5 has some weird command line template options that need to be updated or removed. The template should be a combination of blazor and maui-blazor with a couple that aren't relevant removed. Right now there are a lot of unnecessary ones and inconsistency in naming between the templates. The descriptions are fine.
Usage:
dotnet new maui-blazor-web [options] [template options]
Template options:
KEEP:
-ap, --applicationId
-m, --msExtensionsLoggingDebugVersion
-f, --framework <net8.0|net9.0>
REMOVE:
-c, --componentsWebVersion
-co, --componentsWebAssemblyVersion
-p:c, --componentsWebAssemblyServerVersion
-F, --FrameworkAspNet
-U, --UserSecretsId
-k, --kestrelHttpPort
-ke, --kestrelHttpsPort
-ii, --iisHttpPort
-p:i, --iisHttpsPort
-In, --IncludeSampleContent
-A, --AllInteractive
UPDATE:
-E, --ExcludeLaunchSettings --> --exclude-launch-settings
-I, --InteractivityPlatform --> -int, --interactivity <Auto|None|Server|WebAssembly>
-Em, --Empty --> -e, --empty
-N, --NoHttps --> --no-https
-Us, --UseProgramMain --> --use-program-main
Steps to Reproduce
- On the CLI (.NET 9 Preview 5): dotnet new maui-blazor-web --help
- Notice the weird template options
(Note Version of the Bug is 9.0.100-preview.5.24307.3 but there is not selection for that)
Link to public reproduction project repository
No response
Version with bug
Unknown/Other
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status