diff options
author | Damian Edwards <damian@damianedwards.com> | 2022-03-30 06:48:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-30 06:48:03 +0300 |
commit | 800ef5837e1a23da863001d2448df67ec31ce2a2 (patch) | |
tree | 94f740cfd8925e4672df79794852f51cd0e0ec7e | |
parent | bfe81c331f3d66c13d5a53e516b903b1e3a5d49d (diff) |
Fix UseProgramMain template option in VS (#44)
Fixes #40917
4 files changed, 4 insertions, 14 deletions
diff --git a/src/content/Angular-CSharp/.template.config/template.json b/src/content/Angular-CSharp/.template.config/template.json index aec38e0..9b2ec04 100644 --- a/src/content/Angular-CSharp/.template.config/template.json +++ b/src/content/Angular-CSharp/.template.config/template.json @@ -285,6 +285,7 @@ "type": "parameter", "datatype": "bool", "defaultValue": "false", + "displayName": "Do not use top-level statements", "description": "Whether to generate an explicit Program class and Main method instead of top-level statements." } }, diff --git a/src/content/Angular-CSharp/.template.config/vs-2017.3.host.json b/src/content/Angular-CSharp/.template.config/vs-2017.3.host.json index 32f363a..713ab5c 100644 --- a/src/content/Angular-CSharp/.template.config/vs-2017.3.host.json +++ b/src/content/Angular-CSharp/.template.config/vs-2017.3.host.json @@ -41,13 +41,7 @@ "symbolInfo": [ { "id": "UseProgramMain", - "name": { - "text": "Use top-level statements (uncheck to use an explicit Program class with a Main method)", - "overrideDefaultText": true - }, - "invertBoolean": true, - "isVisible": true, - "defaultValue": true + "isVisible": true } ], "excludeLaunchSettings": false, diff --git a/src/content/React-CSharp/.template.config/template.json b/src/content/React-CSharp/.template.config/template.json index 2ccf7e8..cccfb13 100644 --- a/src/content/React-CSharp/.template.config/template.json +++ b/src/content/React-CSharp/.template.config/template.json @@ -287,6 +287,7 @@ "type": "parameter", "datatype": "bool", "defaultValue": "false", + "displayName": "Do not use top-level statements", "description": "Whether to generate an explicit Program class and Main method instead of top-level statements." } }, diff --git a/src/content/React-CSharp/.template.config/vs-2017.3.host.json b/src/content/React-CSharp/.template.config/vs-2017.3.host.json index 5e79537..80e3c90 100644 --- a/src/content/React-CSharp/.template.config/vs-2017.3.host.json +++ b/src/content/React-CSharp/.template.config/vs-2017.3.host.json @@ -41,13 +41,7 @@ "symbolInfo": [ { "id": "UseProgramMain", - "name": { - "text": "Use top-level statements (uncheck to use an explicit Program class with a Main method)", - "overrideDefaultText": true - }, - "invertBoolean": true, - "isVisible": true, - "defaultValue": true + "isVisible": true } ], "excludeLaunchSettings": false, |