From b3b258659fa451bc0bd9f5f69097335be5b3a414 Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Wed, 13 Nov 2024 13:27:17 +0100 Subject: [PATCH] feat(templates): set default framework to .NET 9 in Boilerplate #9228 (#9229) --- .../Bit.Boilerplate/.template.config/template.json | 4 ++-- .../src/Client/Boilerplate.Client.Maui/App.xaml.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.template.config/template.json b/src/Templates/Boilerplate/Bit.Boilerplate/.template.config/template.json index 6a075df2dc..9f29627fef 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/.template.config/template.json +++ b/src/Templates/Boilerplate/Bit.Boilerplate/.template.config/template.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://json.schemastore.org/template", "author": "bit platform", "classifications": [ @@ -20,7 +20,7 @@ "type": "parameter", "description": "The target framework for the project.", "datatype": "choice", - "defaultValue": "net8.0", + "defaultValue": "net9.0", "choices": [ { "choice": "net8.0", diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/App.xaml.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/App.xaml.cs index 4d022ec10f..0e8c2635b4 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/App.xaml.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/App.xaml.cs @@ -46,7 +46,7 @@ protected async override void OnStart() //#if (IsInsideProjectTemplate) /* //#endif - const int minimumSupportedWebViewVersion = 83; + const int minimumSupportedWebViewVersion = 84; //#if (IsInsideProjectTemplate) */ //#endif