-
-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathtemplate.json
More file actions
132 lines (132 loc) · 3.12 KB
/
template.json
File metadata and controls
132 lines (132 loc) · 3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"$schema": "http://json.schemastore.org/template",
"author": "Egil Hansen",
"classifications": [
"Test",
"bUnit",
"Blazor"
],
"name": "bUnit Test Project",
"description": "A project for a testing Blazor/Razor components using the bUnit library.",
"generatorVersions": "[1.0.0.0-*)",
"identity": "BunitProject",
"groupIdentity": "Bunit",
"shortName": "bunit",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "Company.BlazorTests1",
"defaultName": "BlazorTestProject1",
"preferNameDirectory": true,
"sources": [
{
"modifiers": [
{
"exclude": [ "BunitTestContext.cs" ],
"condition": "(testFramework_xunit || testFramework_xunitv3)"
}
]
}
],
"symbols": {
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
},
"skipRestore": {
"type": "parameter",
"datatype": "bool",
"description": "If specified, skips the automatic restore of the project on create.",
"defaultValue": "false"
},
"UnitTestFramework": {
"type": "parameter",
"description": "The target unit testing framework for the project.",
"displayName": "Unit test framework",
"datatype": "choice",
"defaultValue": "xunit",
"replaces": "UnitTestFramework",
"choices": [
{
"choice": "nunit",
"description": "NUnit unit testing framework",
"displayName": "NUnit"
},
{
"choice": "xunit",
"description": "xUnit unit testing framework",
"displayName": "xUnit"
},
{
"choice": "xunitv3",
"description": "xUnit v3 unit testing framework",
"displayName": "xUnit v3"
},
{
"choice": "mstest",
"description": "MSTest unit testing framework",
"displayName": "MSTest"
}
]
},
"testFramework_nunit": {
"type": "computed",
"value": "UnitTestFramework == \"nunit\""
},
"testFramework_xunit": {
"type": "computed",
"value": "UnitTestFramework == \"xunit\""
},
"testFramework_xunitv3": {
"type": "computed",
"value": "UnitTestFramework == \"xunitv3\""
},
"testFramework_mstest": {
"type": "computed",
"value": "UnitTestFramework == \"mstest\""
},
"targetSdk": {
"type": "parameter",
"description": "The target framework sdk for the project.",
"displayName": "Target framework sdk",
"datatype": "choice",
"defaultValue": "net10.0",
"replaces": "targetSdk",
"choices": [
{
"choice": "net8.0",
"description": ".net 8.0",
"displayName": ".net 8.0"
},
{
"choice": "net9.0",
"description": ".net 9.0",
"displayName": ".net 9.0"
},
{
"choice": "net10.0",
"description": ".net 10.0",
"displayName": ".net 10.0"
},
{
"choice": "net11.0",
"description": ".net 11.0",
"displayName": ".net 11.0"
}
]
}
},
"primaryOutputs": [
{ "path": "Company.BlazorTests1.csproj" }
],
"postActions": [
{
"condition": "(!skipRestore)",
"description": "Restore NuGet packages required by this project.",
"manualInstructions": [ { "text": "Run 'dotnet restore'" } ],
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
"continueOnError": true
}
]
}