Skip to content

Commit 03e7d7e

Browse files
committed
fixes.
1 parent 166acad commit 03e7d7e

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

templates/FmgLib.MauiMarkup.TemplateApp/FmgLib.MauiMarkup.Template.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
<!-- The package metadata. Fill in the properties marked as TODO below -->
55
<!-- Follow the instructions on https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices -->
66
<PackageId>FmgLib.MauiMarkup.Template</PackageId>
7-
<PackageVersion>3.3.2.1</PackageVersion>
7+
<PackageVersion>4.0.0</PackageVersion>
88
<Title>FmgLib.MauiMarkup.Template</Title>
99
<Authors>FmgYazılım</Authors>
1010
<Description>C# Markup (No XAML) templates for .NET MAUI application with Hotreload process.</Description>
1111
<PackageTags>MAUI,Android,iOS,macOS,Windows,MacCatalyst,Tizen,fmglib,mauimarkup,toolkit,mvvm,extension,template,app,mobile,desktop,xamarin,xamarin.forms,net,maui,netmaui,markup,csharpformarkup,csharp,csharpmarkup,xaml,mobile,android,ios,macos,windows,noxaml,fmglib</PackageTags>
1212
<PackageProjectUrl>https://fmgyazilim.com/</PackageProjectUrl>
1313

1414
<PackageType>Template</PackageType>
15-
<TargetFramework>net8.0</TargetFramework>
15+
<TargetFramework>net9.0</TargetFramework>
1616
<IncludeContentInPack>true</IncludeContentInPack>
1717
<IncludeBuildOutput>false</IncludeBuildOutput>
1818
<ContentTargetFolders>content</ContentTargetFolders>

templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/App.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ public partial class App : Application
44
{
55
public App()
66
{
7-
this
8-
.Resources(new ResourceDictionary().MergedDictionaries(AppStyles.Default))
9-
.MainPage(new AppShell());
7+
this.Resources(new ResourceDictionary().MergedDictionaries(AppStyles.Default));
108
}
9+
10+
protected override Window CreateWindow(IActivationState? activationState) => new Window(new AppShell());
1111
}

templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/FmgLib.MauiMarkup.App.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
5-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
66
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
7-
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
7+
<!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> -->
88

99
<!-- Note for MacCatalyst:
1010
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
@@ -67,10 +67,10 @@
6767
</ItemGroup>
6868

6969
<ItemGroup>
70-
<PackageReference Include="FmgLib.MauiMarkup" Version="8.*" />
71-
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.80" />
72-
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.80" />
73-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
70+
<PackageReference Include="FmgLib.MauiMarkup" Version="9.*" />
71+
<PackageReference Include="Microsoft.Maui.Controls" Version="9.*" />
72+
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="9.*" />
73+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.*" />
7474
</ItemGroup>
7575

7676
</Project>

0 commit comments

Comments
 (0)