|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
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> |
6 | | - <!-- 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);net9.0-tizen</TargetFrameworks> --> |
| 4 | + <TargetFrameworks>net10.0-android</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('linux'))">$(TargetFrameworks);net10.0-ios;net10.0-maccatalyst</TargetFrameworks> |
| 6 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks> |
8 | 7 |
|
9 | 8 | <!-- Note for MacCatalyst: |
10 | 9 | The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64. |
|
20 | 19 | <ImplicitUsings>enable</ImplicitUsings> |
21 | 20 | <Nullable>enable</Nullable> |
22 | 21 |
|
| 22 | + <!-- Enable XAML source generation for faster build times and improved performance. |
| 23 | + This generates C# code from XAML at compile time instead of runtime inflation. |
| 24 | + To disable, remove this line. |
| 25 | + For individual files, you can override by setting Inflator metadata: |
| 26 | + <MauiXaml Update="MyPage.xaml" Inflator="Default" /> (reverts to defaults: Runtime for Debug, XamlC for Release) |
| 27 | + <MauiXaml Update="MyPage.xaml" Inflator="Runtime" /> (force runtime inflation) --> |
| 28 | + <MauiXamlInflator>SourceGen</MauiXamlInflator> |
| 29 | + |
23 | 30 | <!-- Display name --> |
24 | 31 | <ApplicationTitle>GettingStarted</ApplicationTitle> |
25 | 32 |
|
|
38 | 45 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
39 | 46 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
40 | 47 | <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
41 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
42 | 48 | </PropertyGroup> |
43 | 49 |
|
44 | 50 | <ItemGroup> |
|
51 | 57 | <!-- Images --> |
52 | 58 | <MauiImage Include="Resources\Images\*" /> |
53 | 59 | <MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" /> |
54 | | - |
| 60 | + |
55 | 61 | <!-- Custom Fonts --> |
56 | 62 | <MauiFont Include="Resources\Fonts\*" /> |
57 | 63 |
|
|
61 | 67 |
|
62 | 68 | <ItemGroup> |
63 | 69 | <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" /> |
64 | | - <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" /> |
| 70 | + <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.0" /> |
65 | 71 | <PackageReference Include="Syncfusion.Maui.RichTextEditor" Version="*" /> |
66 | 72 | </ItemGroup> |
67 | | - |
68 | 73 |
|
69 | 74 | </Project> |
0 commit comments