|
1 | 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'))">$(TargetFrameworks);net6.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> |
6 | 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);net6.0-tizen</TargetFrameworks> --> |
| 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 | + |
8 | 16 | <OutputType>Exe</OutputType>
|
9 | 17 | <RootNamespace>MAUI_Chart_JSON_Data</RootNamespace>
|
10 | 18 | <UseMaui>true</UseMaui>
|
11 | 19 | <SingleProject>true</SingleProject>
|
12 | 20 | <ImplicitUsings>enable</ImplicitUsings>
|
| 21 | + <Nullable>enable</Nullable> |
13 | 22 |
|
14 | 23 | <!-- Display name -->
|
15 | 24 | <ApplicationTitle>MAUI_Chart_JSON_Data</ApplicationTitle>
|
16 | 25 |
|
17 | 26 | <!-- App Identifier -->
|
18 | 27 | <ApplicationId>com.companyname.maui_chart_json_data</ApplicationId>
|
19 |
| - <ApplicationIdGuid>737cff82-cea7-4532-9183-172a96d3cbaa</ApplicationIdGuid> |
20 | 28 |
|
21 | 29 | <!-- Versions -->
|
22 | 30 | <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
23 | 31 | <ApplicationVersion>1</ApplicationVersion>
|
24 | 32 |
|
25 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> |
26 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion> |
| 33 | + <!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged --> |
| 34 | + <WindowsPackageType>None</WindowsPackageType> |
| 35 | + |
| 36 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion> |
| 37 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion> |
27 | 38 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
|
28 | 39 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
|
29 | 40 | <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
|
|
39 | 50 |
|
40 | 51 | <!-- Images -->
|
41 | 52 | <MauiImage Include="Resources\Images\*" />
|
42 |
| - <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> |
| 53 | + <MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" /> |
43 | 54 |
|
44 | 55 | <!-- Custom Fonts -->
|
45 | 56 | <MauiFont Include="Resources\Fonts\*" />
|
|
49 | 60 | </ItemGroup>
|
50 | 61 |
|
51 | 62 | <ItemGroup>
|
52 |
| - <PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> |
53 |
| - <PackageReference Include="Syncfusion.Maui.Charts" Version="*" /> |
| 63 | + <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" /> |
| 64 | + <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" /> |
| 65 | + <PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> |
| 66 | + <PackageReference Include="Syncfusion.Maui.Charts" Version="*" /> |
54 | 67 | </ItemGroup>
|
55 | 68 |
|
56 | 69 | </Project>
|
0 commit comments