-
Notifications
You must be signed in to change notification settings - Fork 459
/
template.json
97 lines (97 loc) · 2.75 KB
/
template.json
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
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": [
"Universal"
],
"name": "XAML Island",
"shortName": "XAML Island",
"identity": "ts.WPF.Page.XamlIsland",
"groupIdentity": "ts.WPF.Page.XamlIsland",
"description": "Page that hosts an UWP control using a XAML Island.",
"tags": {
"language": "C#",
"type": "item",
"ts.type": "page",
"ts.projecttype": "all",
"ts.frontendframework": "Prism|MVVMToolkit",
"ts.platform": "Wpf",
"ts.version": "1.0.0",
"ts.displayOrder": "7",
"ts.genGroup": "0",
"ts.rightClickEnabled": "false",
"ts.isHidden": "true",
"ts.outputToParent": "true",
"ts.requiredVersions": "UAP, Version=10.0.19041.0|dotnet, Version=3.1.7",
"ts.requiredVsWorkload": "Microsoft.VisualStudio.Workload.Universal",
"ts.dependencies": "ts.WPF.Feat.ThemeSelection|ts.WPF.Feat.XamlIslandUwpApp",
"ts.licenses": "[Microsoft.Toolkit.Wpf.UI.XamlHost](https://github.com/windows-toolkit/Microsoft.Toolkit.Win32/blob/master/license.md)"
},
"sourceName": "ts.ItemName",
"preferNameDirectory": true,
"PrimaryOutputs": [
{
"path": "Param_ProjectName/Program.cs"
},
{
"path": "Param_ProjectName/Controls/ts.ItemNameControl.xaml"
},
{
"path": "Param_ProjectName/Controls/ts.ItemNameControl.xaml.cs"
},
{
"path": "Param_ProjectName/Converters/ColorConverter.cs"
},
{
"path": "Param_ProjectName/ViewModels/ts.ItemNameViewModel.cs"
},
{
"path": "Param_ProjectName/Views/ts.ItemNamePage.xaml"
},
{
"path": "Param_ProjectName/Views/ts.ItemNamePage.xaml.cs"
},
{
"path": "Param_ProjectName.XamlIsland/ts.ItemNameControlUniversal.xaml"
},
{
"path": "Param_ProjectName.XamlIsland/ts.ItemNameControlUniversal.xaml.cs"
}
],
"symbols": {
"ts.projectName": {
"type": "parameter",
"replaces": "Param_ProjectName",
"fileRename": "Param_ProjectName"
},
"ts.rootNamespace": {
"type": "parameter",
"replaces": "Param_RootNamespace"
},
"baseclass": {
"type": "parameter",
"replaces": "System.ComponentModel.INotifyPropertyChanged"
},
"pagetype": {
"type": "parameter",
"replaces": "System.Windows.Controls.Page"
},
"setter": {
"type": "parameter",
"replaces": "Param_Setter"
}
},
"postActions": [
{
"description": "Add nuget package",
"manualInstructions": [ ],
"actionId": "0B814718-16A3-4F7F-89F1-69C0F9170EAD",
"args": {
"packageId" : "Microsoft.Toolkit.Wpf.UI.XamlHost",
"version" : "6.1.2",
"projectPath": "Param_ProjectName\\Param_ProjectName.csproj"
},
"continueOnError": true
}
]
}