diff --git a/src/Templates/src/templates/maui-blazor-solution/.template.config/dotnetcli.host.json b/src/Templates/src/templates/maui-blazor-solution/.template.config/dotnetcli.host.json index 03aa5c11c516..40d7c441e5a4 100644 --- a/src/Templates/src/templates/maui-blazor-solution/.template.config/dotnetcli.host.json +++ b/src/Templates/src/templates/maui-blazor-solution/.template.config/dotnetcli.host.json @@ -27,7 +27,7 @@ "isHidden": true }, "Empty": { - "longName": "empty" + "isHidden": true }, "IncludeSampleContent": { "isHidden": true diff --git a/src/Templates/src/templates/maui-blazor-solution/.template.config/template.json b/src/Templates/src/templates/maui-blazor-solution/.template.config/template.json index c5436549eba1..e82c8dc1613d 100644 --- a/src/Templates/src/templates/maui-blazor-solution/.template.config/template.json +++ b/src/Templates/src/templates/maui-blazor-solution/.template.config/template.json @@ -410,6 +410,12 @@ "defaultValue": "false", "description": "Configures whether to omit sample pages and styling that demonstrate basic usage patterns." }, + "empty": { + "type": "parameter", + "datatype": "bool", + "defaultValue": "false", + "description": "Configures whether to omit sample pages and styling that demonstrate basic usage patterns." + }, "auth": { "type": "generated", "generator": "constant", @@ -426,7 +432,7 @@ }, "SampleContent": { "type": "computed", - "value": "(((IncludeSampleContent && (HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\"))) || ((!Empty && (HostIdentifier == \"dotnetcli\" || HostIdentifier == \"dotnetcli-preview\"))))" + "value": "(((IncludeSampleContent && (HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\"))) || ((!Empty && (HostIdentifier == \"dotnetcli\" || HostIdentifier == \"dotnetcli-preview\")) && (!empty && (HostIdentifier == \"dotnetcli\" || HostIdentifier == \"dotnetcli-preview\"))))" }, "AllInteractive": { "type": "parameter", diff --git a/src/Templates/src/templates/maui-blazor/.template.config/dotnetcli.host.json b/src/Templates/src/templates/maui-blazor/.template.config/dotnetcli.host.json index d0437a6f343d..b803d05a1a90 100644 --- a/src/Templates/src/templates/maui-blazor/.template.config/dotnetcli.host.json +++ b/src/Templates/src/templates/maui-blazor/.template.config/dotnetcli.host.json @@ -11,7 +11,7 @@ "isHidden": true }, "Empty": { - "longName": "empty" + "isHidden": true } }, "usageExamples": [ diff --git a/src/Templates/src/templates/maui-blazor/.template.config/template.json b/src/Templates/src/templates/maui-blazor/.template.config/template.json index 541de83f5a6c..d1887e57a1e8 100644 --- a/src/Templates/src/templates/maui-blazor/.template.config/template.json +++ b/src/Templates/src/templates/maui-blazor/.template.config/template.json @@ -172,9 +172,15 @@ "defaultValue": "false", "description": "Configures whether to omit sample pages and styling that demonstrate basic usage patterns." }, + "empty": { + "type": "parameter", + "datatype": "bool", + "defaultValue": "false", + "description": "Configures whether to omit sample pages and styling that demonstrate basic usage patterns." + }, "SampleContent": { "type": "computed", - "value": "(((IncludeSampleContent && (HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\"))) || ((!Empty && (HostIdentifier == \"dotnetcli\" || HostIdentifier == \"dotnetcli-preview\"))))" + "value": "(((IncludeSampleContent && (HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\"))) || ((!Empty && (HostIdentifier == \"dotnetcli\" || HostIdentifier == \"dotnetcli-preview\")) && (!empty && (HostIdentifier == \"dotnetcli\" || HostIdentifier == \"dotnetcli-preview\"))))" } }, "forms": {