Skip to content

Commit 79cb49a

Browse files
jfversluisPureWeen
authored andcommitted
Remove .NET 8 specific code for templates (#30342)
1 parent ae4d860 commit 79cb49a

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,7 @@
8484
<!--#if (IncludeSampleContent) -->
8585
<ItemGroup>
8686
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.2" />
87-
<!--#if (Framework == "net8.0") -->
88-
<PackageReference Include="CommunityToolkit.Maui" Version="9.1.0" />
89-
<!--#else-->
9087
<PackageReference Include="CommunityToolkit.Maui" Version="11.1.1" />
91-
<!--#endif-->
9288
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.8" />
9389
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.10" />
9490
<PackageReference Include="Syncfusion.Maui.Toolkit" Version="1.0.5" />

src/Templates/src/templates/maui-mobile/Pages/ManageMetaPage.xaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@
6262
<Entry.Behaviors>
6363
<toolkit:TextValidationBehavior
6464
InvalidStyle="{StaticResource InvalidEntryStyle}"
65-
<!--#if (Framework == "net8.0") -->
66-
Flags="ValidateOnUnfocusing"
67-
<!--#else -->
6865
Flags="ValidateOnUnfocused"
69-
<!--#endif -->
7066
RegexPattern="^#(?:[0-9a-fA-F]{3}){1,2}$" />
7167
</Entry.Behaviors>
7268
</Entry>
@@ -108,11 +104,7 @@
108104
<Entry.Behaviors>
109105
<toolkit:TextValidationBehavior
110106
InvalidStyle="{StaticResource InvalidEntryStyle}"
111-
<!--#if (Framework == "net8.0") -->
112-
Flags="ValidateOnUnfocusing"
113-
<!--#else -->
114107
Flags="ValidateOnUnfocused"
115-
<!--#endif -->
116108
RegexPattern="^#(?:[0-9a-fA-F]{3}){1,2}$" />
117109
</Entry.Behaviors>
118110
</Entry>

0 commit comments

Comments
 (0)