Skip to content

Commit 4edf89c

Browse files
authored
[Microsoft.Android.Templates] Add icons to templates (#8883)
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 a7b5768 commit 4edf89c

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.ico",
34
"appliesTo": "Android",
45
"defaultItemExtension": "cs",
56
"itemHierarchyPaths": [ "Android" ]
6-
}
7+
}
Binary file not shown.
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.ico",
4+
"appliesTo": "Android",
5+
"defaultItemExtension": "cs",
6+
"itemHierarchyPaths": [ "Android" ]
7+
}
Binary file not shown.
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.ico",
34
"appliesTo": "Android",
45
"defaultItemExtension": "xml",
56
"itemHierarchyPaths": [ "Android" ]
6-
}
7+
}
Binary file not shown.
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.ico",
4+
"appliesTo": "Android",
5+
"defaultItemExtension": "cs",
6+
"itemHierarchyPaths": [ "Android" ]
7+
}
Binary file not shown.
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.ico",
4+
"appliesTo": "Android",
5+
"defaultItemExtension": "cs",
6+
"itemHierarchyPaths": [ "Android" ]
7+
}
Binary file not shown.

0 commit comments

Comments
 (0)