-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Blazor Hybrid & Web Solution Template: Template options need updating #23168
Copy link
Copy link
Closed
Labels
area-blazorBlazor Hybrid / Desktop, BlazorWebViewBlazor Hybrid / Desktop, BlazorWebViewarea-templatesProject templates, Item Templates for Blazor and MAUIProject templates, Item Templates for Blazor and MAUIp/0Current heighest priority issues that we are targeting for a release.Current heighest priority issues that we are targeting for a release.platform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-blazorBlazor Hybrid / Desktop, BlazorWebViewBlazor Hybrid / Desktop, BlazorWebViewarea-templatesProject templates, Item Templates for Blazor and MAUIProject templates, Item Templates for Blazor and MAUIp/0Current heighest priority issues that we are targeting for a release.Current heighest priority issues that we are targeting for a release.platform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
Status
Done
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
(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