|
1 |
| -<Project Sdk="Microsoft.NET.Sdk"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 |
| - <TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks> |
5 |
| - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</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> |
| 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> --> |
| 8 | + |
| 9 | + <!-- Note for MacCatalyst: |
| 10 | + The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64. |
| 11 | + When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>. |
| 12 | + The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated; |
| 13 | + either BOTH runtimes must be indicated or ONLY macatalyst-x64. --> |
| 14 | + <!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> --> |
| 15 | + |
6 | 16 | <OutputType>Exe</OutputType>
|
7 | 17 | <RootNamespace>ColumnChartDemo</RootNamespace>
|
8 | 18 | <UseMaui>true</UseMaui>
|
9 | 19 | <SingleProject>true</SingleProject>
|
10 | 20 | <ImplicitUsings>enable</ImplicitUsings>
|
11 |
| - <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling> |
| 21 | + <Nullable>enable</Nullable> |
12 | 22 |
|
13 | 23 | <!-- Display name -->
|
14 | 24 | <ApplicationTitle>ColumnChartDemo</ApplicationTitle>
|
15 | 25 |
|
16 | 26 | <!-- App Identifier -->
|
17 | 27 | <ApplicationId>com.companyname.columnchartdemo</ApplicationId>
|
18 |
| - <ApplicationId Condition="$(TargetFramework.Contains('-windows'))">53E47BFF-2930-4C1B-BB86-E430AC84C899</ApplicationId> |
19 | 28 |
|
20 | 29 | <!-- Versions -->
|
21 | 30 | <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
22 | 31 | <ApplicationVersion>1</ApplicationVersion>
|
23 | 32 |
|
24 |
| - <!-- Required for C# Hot Reload --> |
25 |
| - <UseInterpreter Condition="'$(Configuration)' == 'Debug'">True</UseInterpreter> |
| 33 | + <!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged --> |
| 34 | + <WindowsPackageType>None</WindowsPackageType> |
26 | 35 |
|
27 |
| - <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-ios'">14.2</SupportedOSPlatformVersion> |
28 |
| - <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">14.0</SupportedOSPlatformVersion> |
29 |
| - <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-android'">21.0</SupportedOSPlatformVersion> |
30 |
| - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.17763.0</SupportedOSPlatformVersion> |
31 |
| - <TargetPlatformMinVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.17763.0</TargetPlatformMinVersion> |
| 36 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion> |
| 37 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion> |
| 38 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
| 39 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
| 40 | + <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
| 41 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
32 | 42 | </PropertyGroup>
|
33 | 43 |
|
34 | 44 | <ItemGroup>
|
35 | 45 | <!-- App Icon -->
|
36 |
| - <MauiIcon Include="Resources\appicon.svg" ForegroundFile="Resources\appiconfg.svg" Color="#512BD4" /> |
| 46 | + <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" /> |
37 | 47 |
|
38 | 48 | <!-- Splash Screen -->
|
39 |
| - <MauiSplashScreen Include="Resources\appiconfg.svg" Color="#512BD4" BaseSize="128,128" /> |
| 49 | + <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" /> |
40 | 50 |
|
41 | 51 | <!-- Images -->
|
42 | 52 | <MauiImage Include="Resources\Images\*" />
|
43 |
| - <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> |
| 53 | + <MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" /> |
44 | 54 |
|
45 | 55 | <!-- Custom Fonts -->
|
46 | 56 | <MauiFont Include="Resources\Fonts\*" />
|
|
49 | 59 | <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
50 | 60 | </ItemGroup>
|
51 | 61 |
|
52 |
| - <ItemGroup Condition="$(TargetFramework.Contains('-windows'))"> |
53 |
| - <!-- Required - WinUI does not yet have buildTransitive for everything --> |
54 |
| - <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0" /> |
55 |
| - <PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30" /> |
56 |
| - </ItemGroup> |
57 |
| - |
58 | 62 | <ItemGroup>
|
59 |
| - <PackageReference Include="Syncfusion.Maui.Charts" Version="20.1.47-preview" /> |
| 63 | + <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" /> |
| 64 | + <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" /> |
| 65 | + <PackageReference Include="Syncfusion.Maui.Charts" Version="*" /> |
60 | 66 | </ItemGroup>
|
61 | 67 |
|
62 |
| - <PropertyGroup Condition="$(TargetFramework.Contains('-windows'))"> |
63 |
| - <OutputType>WinExe</OutputType> |
64 |
| - <RuntimeIdentifier>win10-x64</RuntimeIdentifier> |
65 |
| - </PropertyGroup> |
66 |
| - |
67 | 68 | </Project>
|
0 commit comments