Skip to content

Commit efd0bd3

Browse files
committed
[net10.0] Clean up template options for the CLI
1 parent 021dfc4 commit efd0bd3

File tree

5 files changed

+113
-29
lines changed

5 files changed

+113
-29
lines changed
Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
2-
"$schema": "http://json.schemastore.org/dotnetcli.host",
3-
"symbolInfo": {
4-
"Framework": {
5-
"longName": "framework"
6-
}
2+
"$schema": "https://json.schemastore.org/dotnetcli.host",
3+
"symbolInfo": {
4+
"Framework": {
5+
"longName": "framework"
76
},
8-
"usageExamples": [
9-
"--framework DOTNET_TFM_VALUE"
10-
]
11-
}
7+
"skipRestore": {
8+
"longName": "no-restore",
9+
"shortName": ""
10+
}
11+
},
12+
"usageExamples": [
13+
"--framework DOTNET_TFM_VALUE"
14+
]
15+
}

src/Templates/src/templates/maui-blazor-solution/.template.config/dotnetcli.host.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,74 @@
11
{
22
"$schema": "https://json.schemastore.org/dotnetcli.host",
33
"symbolInfo": {
4+
"msExtensionsLoggingDebugVersion": {
5+
"isHidden": true
6+
},
7+
"componentsWebVersion": {
8+
"isHidden": true
9+
},
10+
"componentsWebAssemblyVersion": {
11+
"isHidden": true
12+
},
13+
"componentsWebAssemblyServerVersion": {
14+
"isHidden": true
15+
},
16+
"FrameworkAspNet": {
17+
"isHidden": true
18+
},
19+
"InteractivityPlatform": {
20+
"longName": "interactivity",
21+
"shortName": "int"
22+
},
23+
"AllInteractive": {
24+
"longName": "all-interactive"
25+
},
26+
"InteractivityLocation": {
27+
"isHidden": true
28+
},
29+
"Empty": {
30+
"longName": "empty"
31+
},
32+
"IncludeSampleContent": {
33+
"isHidden": true
34+
},
35+
"UseLocalDB": {
36+
"longName": "use-local-db",
37+
"isHidden": true
38+
},
439
"Framework": {
540
"longName": "framework"
41+
},
42+
"kestrelHttpPort": {
43+
"isHidden": true
44+
},
45+
"kestrelHttpsPort": {
46+
"isHidden": true
47+
},
48+
"iisHttpPort": {
49+
"isHidden": true
50+
},
51+
"iisHttpsPort": {
52+
"isHidden": true
53+
},
54+
"ExcludeLaunchSettings": {
55+
"longName": "exclude-launch-settings",
56+
"shortName": ""
57+
},
58+
"UserSecretsId": {
59+
"isHidden": true
60+
},
61+
"NoHttps": {
62+
"longName": "no-https",
63+
"shortName": ""
64+
},
65+
"UseProgramMain": {
66+
"longName": "use-program-main",
67+
"shortName": ""
68+
},
69+
"LocalhostTld": {
70+
"longName": "localhost-tld",
71+
"shortName": ""
672
}
773
},
874
"usageExamples": [

src/Templates/src/templates/maui-blazor/.template.config/dotnetcli.host.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
{
2-
"$schema": "http://json.schemastore.org/dotnetcli.host",
2+
"$schema": "https://json.schemastore.org/dotnetcli.host",
33
"symbolInfo": {
4+
"msExtensionsLoggingDebugVersion": {
5+
"isHidden": true
6+
},
47
"Framework": {
58
"longName": "framework"
9+
},
10+
"IncludeSampleContent": {
11+
"isHidden": true
12+
},
13+
"Empty": {
14+
"longName": "empty"
615
}
716
},
817
"usageExamples": [
Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
{
2-
"$schema": "http://json.schemastore.org/dotnetcli.host",
3-
"symbolInfo": {
4-
"Framework": {
5-
"longName": "framework"
6-
},
7-
"IncludeSampleContent": {
8-
9-
"longName": "sample-content",
10-
"shortName": "sc"
11-
},
12-
"skipRestore": {
13-
"longName": "no-restore",
14-
"shortName": ""
15-
}
2+
"$schema": "https://json.schemastore.org/dotnetcli.host",
3+
"symbolInfo": {
4+
"msExtensionsLoggingDebugVersion": {
5+
"isHidden": true
166
},
17-
"usageExamples": [
18-
"--framework DOTNET_TFM_VALUE"
19-
]
20-
}
7+
"Framework": {
8+
"longName": "framework"
9+
},
10+
"IncludeSampleContent": {
11+
"longName": "sample-content",
12+
"shortName": "sc"
13+
},
14+
"skipRestore": {
15+
"longName": "no-restore",
16+
"shortName": ""
17+
}
18+
},
19+
"usageExamples": [
20+
"--framework DOTNET_TFM_VALUE"
21+
]
22+
}

src/Templates/src/templates/maui-multiproject/.template.config/dotnetcli.host.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
2-
"$schema": "http://json.schemastore.org/dotnetcli.host",
2+
"$schema": "https://json.schemastore.org/dotnetcli.host",
33
"symbolInfo": {
4+
"msExtensionsLoggingDebugVersion": {
5+
"isHidden": true
6+
},
47
"Framework": {
58
"longName": "framework"
69
},

0 commit comments

Comments
 (0)