Skip to content

Commit 55f4237

Browse files
jfversluisprakashKannanSf3972
authored andcommitted
Exclude .NET bot for sample content template (dotnet#29019)
1 parent c1e41e4 commit 55f4237

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Templates/src/templates/maui-mobile/.template.config/template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@
7979
"condition": "(IncludeSampleContent)",
8080
"exclude": [
8181
"MainPage.xaml",
82-
"MainPage.xaml.cs"
82+
"MainPage.xaml.cs",
83+
"Resources/Images/dotnet_bot.png"
8384
]
8485
}]
8586
}

src/Templates/src/templates/maui-mobile/MauiApp.1.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@
6565

6666
<!-- Images -->
6767
<MauiImage Include="Resources\Images\*" />
68+
<!--#if (!IncludeSampleContent) -->
6869
<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" />
69-
70+
71+
<!--#endif -->
7072
<!-- Custom Fonts -->
7173
<MauiFont Include="Resources\Fonts\*" />
7274

0 commit comments

Comments
 (0)