Skip to content

Commit 142d586

Browse files
committed
[Microsoft.Android.Templates] Add icons to templates
Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1714750 Context: https://github.com/dotnet/maui/blob/8e4450cbc14932a6c74aeb8b7bfee9c94eca18b0/src/Templates/src/templates/maui-mobile/.template.config/ide.host.json#L3 The way to specify an icon for a `dotnet new` template is to specify an `icon` key within `.template.config/ide.host.json`.
1 parent 98c1063 commit 142d586

File tree

12 files changed

+32
-2
lines changed

12 files changed

+32
-2
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "http://json.schemastore.org/ide.host",
3+
"icon": "ide/icon.png",
34
"appliesTo": "Android",
45
"defaultItemExtension": "cs",
56
"itemHierarchyPaths": [ "Android" ]
6-
}
7+
}
2.62 KB
Loading
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "http://json.schemastore.org/ide.host",
3+
"icon": "ide/icon.png",
4+
"appliesTo": "Android",
5+
"defaultItemExtension": "cs",
6+
"itemHierarchyPaths": [ "Android" ]
7+
}
2.62 KB
Loading
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "http://json.schemastore.org/ide.host",
3+
"icon": "ide/icon.png",
34
"appliesTo": "Android",
45
"defaultItemExtension": "xml",
56
"itemHierarchyPaths": [ "Android" ]
6-
}
7+
}
2.62 KB
Loading
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "http://json.schemastore.org/ide.host",
3+
"icon": "ide/icon.png",
4+
"appliesTo": "Android",
5+
"defaultItemExtension": "cs",
6+
"itemHierarchyPaths": [ "Android" ]
7+
}
2.62 KB
Loading
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "http://json.schemastore.org/ide.host",
3+
"icon": "ide/icon.png",
4+
"appliesTo": "Android",
5+
"defaultItemExtension": "cs",
6+
"itemHierarchyPaths": [ "Android" ]
7+
}
2.62 KB
Loading

0 commit comments

Comments
 (0)