From 431d0702ab44c5646453fecae9d15b28b2423692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20ZITTE?= <16295702+agneszitte@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:39:31 -0500 Subject: [PATCH 1/6] Revert "fix: Move isHidden to dotnetcli.host.json" This reverts commit 0a69d2cdea5265770a86dd40db951267a81f8f3e. (cherry picked from commit 2887695327c15be0ed617418021169698a28369c) --- .../unoapp/.template.config/dotnetcli.host.json | 10 ---------- .../content/unoapp/.template.config/template.json | 6 ++++-- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/Uno.Templates/content/unoapp/.template.config/dotnetcli.host.json b/src/Uno.Templates/content/unoapp/.template.config/dotnetcli.host.json index 685d9459a..fdfd02825 100644 --- a/src/Uno.Templates/content/unoapp/.template.config/dotnetcli.host.json +++ b/src/Uno.Templates/content/unoapp/.template.config/dotnetcli.host.json @@ -153,16 +153,6 @@ }, "isVsix": { "isHidden": true - }, - "projectOnly": { - "longName": "project-only", - "shortName": "project-only", - "isHidden": true - }, - "includeGlobalJson": { - "longName": "include-global-json", - "shortName": "include-global-json", - "isHidden": true } } } diff --git a/src/Uno.Templates/content/unoapp/.template.config/template.json b/src/Uno.Templates/content/unoapp/.template.config/template.json index e1d486048..9e2db6c98 100644 --- a/src/Uno.Templates/content/unoapp/.template.config/template.json +++ b/src/Uno.Templates/content/unoapp/.template.config/template.json @@ -808,7 +808,8 @@ "datatype": "bool", "displayName": "Project Only", "description": "If specified, creates only the main project folder without solution file or top-level configuration files. Intended for adding projects to existing solutions.", - "defaultValue": "false" + "defaultValue": "false", + "isHidden": true }, "unoSdkVersion": { "type": "parameter", @@ -823,7 +824,8 @@ "datatype": "bool", "displayName": "Include global.json", "description": "If specified, generates a global.json file with the Uno.SDK version. Set to false to manage SDK versions externally.", - "defaultValue": "true" + "defaultValue": "true", + "isHidden": true }, "includeGlobalJsonEvaluator": { "type": "computed", From 627668ba3ff3080c15f1b492f18fea83c4d3052b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20ZITTE?= <16295702+agneszitte@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:39:31 -0500 Subject: [PATCH 2/6] Revert "fix: Use boolean true instead of string for isHidden" This reverts commit 1f32d0cffc2b8517a4a22208782541ac26f1e4bd. (cherry picked from commit c55978999541494d816ec812e075b55ae8817415) --- .../content/unoapp/.template.config/template.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Uno.Templates/content/unoapp/.template.config/template.json b/src/Uno.Templates/content/unoapp/.template.config/template.json index 9e2db6c98..774d975f0 100644 --- a/src/Uno.Templates/content/unoapp/.template.config/template.json +++ b/src/Uno.Templates/content/unoapp/.template.config/template.json @@ -809,7 +809,7 @@ "displayName": "Project Only", "description": "If specified, creates only the main project folder without solution file or top-level configuration files. Intended for adding projects to existing solutions.", "defaultValue": "false", - "isHidden": true + "isHidden": "true" }, "unoSdkVersion": { "type": "parameter", @@ -825,7 +825,7 @@ "displayName": "Include global.json", "description": "If specified, generates a global.json file with the Uno.SDK version. Set to false to manage SDK versions externally.", "defaultValue": "true", - "isHidden": true + "isHidden": "true" }, "includeGlobalJsonEvaluator": { "type": "computed", From b63c53dd9f8cac08df38ab49243d4a11a41e8f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20ZITTE?= <16295702+agneszitte@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:39:31 -0500 Subject: [PATCH 3/6] Revert "feat: Make projectOnly and includeGlobalJson hidden parameters" This reverts commit e98b5c70a6e309e6151ad2cbb444b87d37dc6257. (cherry picked from commit 3409198d2d78bf41b6fd1e904ecc62dd22320982) --- .../content/unoapp/.template.config/template.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Uno.Templates/content/unoapp/.template.config/template.json b/src/Uno.Templates/content/unoapp/.template.config/template.json index 774d975f0..e1d486048 100644 --- a/src/Uno.Templates/content/unoapp/.template.config/template.json +++ b/src/Uno.Templates/content/unoapp/.template.config/template.json @@ -808,8 +808,7 @@ "datatype": "bool", "displayName": "Project Only", "description": "If specified, creates only the main project folder without solution file or top-level configuration files. Intended for adding projects to existing solutions.", - "defaultValue": "false", - "isHidden": "true" + "defaultValue": "false" }, "unoSdkVersion": { "type": "parameter", @@ -824,8 +823,7 @@ "datatype": "bool", "displayName": "Include global.json", "description": "If specified, generates a global.json file with the Uno.SDK version. Set to false to manage SDK versions externally.", - "defaultValue": "true", - "isHidden": "true" + "defaultValue": "true" }, "includeGlobalJsonEvaluator": { "type": "computed", From 078e21e4824fa1a65898587e97bcc5432907d789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20ZITTE?= <16295702+agneszitte@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:39:31 -0500 Subject: [PATCH 4/6] Revert "feat: Ignore --project-only when NuGet packages are required" This reverts commit 726e252d24299cf5ee0f0a8fe6629d31a25e8091. (cherry picked from commit 9f5611f130c5516c0078b056249345c588defb53) --- .../content/unoapp/.template.config/template.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Uno.Templates/content/unoapp/.template.config/template.json b/src/Uno.Templates/content/unoapp/.template.config/template.json index e1d486048..2ee026be5 100644 --- a/src/Uno.Templates/content/unoapp/.template.config/template.json +++ b/src/Uno.Templates/content/unoapp/.template.config/template.json @@ -2372,7 +2372,7 @@ ] }, { - "condition": "(isVsix || (projectOnly && !requiresNugetPackages))", + "condition": "(isVsix || projectOnly)", "exclude": [ "MyExtensionsApp.1.sln" ] @@ -2784,7 +2784,7 @@ ] }, { - "condition": "(projectOnly && !requiresNugetPackages)", + "condition": "(projectOnly)", "exclude": [ ".editorconfig", ".vsconfig", @@ -2796,7 +2796,7 @@ ] }, { - "condition": "(projectOnly && !requiresNugetPackages)", + "condition": "(projectOnly)", "source": "MyExtensionsApp.1/", "target": "./" } From ea491fe6dd4a4e9d1b49b09425fe2560790c0b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20ZITTE?= <16295702+agneszitte@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:39:31 -0500 Subject: [PATCH 5/6] Revert "feat: Place project contents at root when using --project-only" This reverts commit 4659d947e2f5c618a4c72362aa1e218da346b678. (cherry picked from commit 3dc8394021213fd328de726e451fc5f8caa90f6c) --- .../content/unoapp/.template.config/template.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Uno.Templates/content/unoapp/.template.config/template.json b/src/Uno.Templates/content/unoapp/.template.config/template.json index 2ee026be5..cf0d15994 100644 --- a/src/Uno.Templates/content/unoapp/.template.config/template.json +++ b/src/Uno.Templates/content/unoapp/.template.config/template.json @@ -2789,16 +2789,10 @@ ".editorconfig", ".vsconfig", ".run/**/*", - ".vscode/**/*", - "MyExtensionsApp.1/**" + ".vscode/**/*" ] } ] - }, - { - "condition": "(projectOnly)", - "source": "MyExtensionsApp.1/", - "target": "./" } ], "postActions": [ From 68ac2980052fd7426d6e6956e605180fd8d8359d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20ZITTE?= <16295702+agneszitte@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:39:31 -0500 Subject: [PATCH 6/6] Revert "feat: Add --project-only flag to unoapp template" This reverts commit 7173a554a9ab4b8954daccae6836e5e6324a64ea. (cherry picked from commit de0078fb0fd440d668e483f055ca3732d14e9c00) --- .../unoapp/.template.config/template.json | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/src/Uno.Templates/content/unoapp/.template.config/template.json b/src/Uno.Templates/content/unoapp/.template.config/template.json index cf0d15994..8c95ecf98 100644 --- a/src/Uno.Templates/content/unoapp/.template.config/template.json +++ b/src/Uno.Templates/content/unoapp/.template.config/template.json @@ -803,13 +803,6 @@ "description": "If specified, skips the automatic restore of the project on create.", "defaultValue": "false" }, - "projectOnly": { - "type": "parameter", - "datatype": "bool", - "displayName": "Project Only", - "description": "If specified, creates only the main project folder without solution file or top-level configuration files. Intended for adding projects to existing solutions.", - "defaultValue": "false" - }, "unoSdkVersion": { "type": "parameter", "datatype": "text", @@ -825,11 +818,6 @@ "description": "If specified, generates a global.json file with the Uno.SDK version. Set to false to manage SDK versions externally.", "defaultValue": "true" }, - "includeGlobalJsonEvaluator": { - "type": "computed", - "datatype": "bool", - "value": "(includeGlobalJson && !projectOnly)" - }, "unoWasmBootstrapVersion": { "type": "parameter", "datatype": "text" @@ -2372,7 +2360,7 @@ ] }, { - "condition": "(isVsix || projectOnly)", + "condition": "(isVsix)", "exclude": [ "MyExtensionsApp.1.sln" ] @@ -2778,19 +2766,10 @@ ] }, { - "condition": "(!includeGlobalJsonEvaluator)", + "condition": "(!includeGlobalJson)", "exclude": [ "global.json" ] - }, - { - "condition": "(projectOnly)", - "exclude": [ - ".editorconfig", - ".vsconfig", - ".run/**/*", - ".vscode/**/*" - ] } ] }