|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project Sdk="Microsoft.NET.Sdk"> |
3 | | - <PropertyGroup> |
4 | | - <TargetFrameworks>net8.0-android</TargetFrameworks> |
5 | | - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('osx'))">$(TargetFrameworks);net8.0-ios;net8.0-maccatalyst</TargetFrameworks> |
6 | | - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-ios;net8.0-maccatalyst;net8.0-windows10.0.19041.0</TargetFrameworks> |
7 | | - <!-- <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-tizen</TargetFrameworks> --> |
8 | | - <TargetFrameworks>$(TargetFrameworks);net8.0</TargetFrameworks> |
9 | | - <OutputType Condition="'$(TargetFramework)' != 'net8.0'">Exe</OutputType> |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net8.0-android</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('osx'))">$(TargetFrameworks);net8.0-ios;net8.0-maccatalyst</TargetFrameworks> |
| 6 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-ios;net8.0-maccatalyst;net8.0-windows10.0.19041.0</TargetFrameworks> |
| 7 | + <!-- <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-tizen</TargetFrameworks> --> |
| 8 | + <TargetFrameworks>$(TargetFrameworks);net8.0</TargetFrameworks> |
| 9 | + <OutputType Condition="'$(TargetFramework)' != 'net8.0'">Exe</OutputType> |
10 | 10 |
|
11 | | - <!-- .NET MAUI --> |
12 | | - <UseMaui>true</UseMaui> |
13 | | - <SingleProject>true</SingleProject> |
| 11 | + <!-- .NET MAUI --> |
| 12 | + <UseMaui>true</UseMaui> |
| 13 | + <SingleProject>true</SingleProject> |
14 | 14 |
|
15 | | - <!-- Project Options --> |
16 | | - <Nullable>enable</Nullable> |
17 | | - <LangVersion>latest</LangVersion> |
18 | | - <ImplicitUsings>enable</ImplicitUsings> |
19 | | - <RootNamespace>MyOrderApp</RootNamespace> |
| 15 | + <!-- Project Options --> |
| 16 | + <Nullable>enable</Nullable> |
| 17 | + <LangVersion>latest</LangVersion> |
| 18 | + <ImplicitUsings>enable</ImplicitUsings> |
| 19 | + <RootNamespace>MyOrderApp</RootNamespace> |
20 | 20 |
|
21 | | - <!-- Display name --> |
22 | | - <ApplicationTitle>MyOrderApp</ApplicationTitle> |
| 21 | + <!-- Display name --> |
| 22 | + <ApplicationTitle>MyOrderApp</ApplicationTitle> |
23 | 23 |
|
24 | | - <!-- App Identifier --> |
25 | | - <ApplicationId>com.companyname.myorderapp</ApplicationId> |
26 | | - <ApplicationIdGuid>0f1f5ccb-47f5-4b4b-8927-96cc6840eea4</ApplicationIdGuid> |
| 24 | + <!-- App Identifier --> |
| 25 | + <ApplicationId>com.companyname.myorderapp</ApplicationId> |
| 26 | + <ApplicationIdGuid>0f1f5ccb-47f5-4b4b-8927-96cc6840eea4</ApplicationIdGuid> |
27 | 27 |
|
28 | | - <!-- Versions --> |
29 | | - <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
30 | | - <ApplicationVersion>1</ApplicationVersion> |
| 28 | + <!-- Versions --> |
| 29 | + <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
| 30 | + <ApplicationVersion>1</ApplicationVersion> |
31 | 31 |
|
32 | | - <!-- Target Platform Options --> |
33 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> |
34 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion> |
35 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
36 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
37 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
| 32 | + <!-- Target Platform Options --> |
| 33 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> |
| 34 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion> |
| 35 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
| 36 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
| 37 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
38 | 38 |
|
39 | | - <!-- Minimum Target OS Version for Windows Platform --> |
40 | | - <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
41 | | - </PropertyGroup> |
| 39 | + <!-- Minimum Target OS Version for Windows Platform --> |
| 40 | + <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
| 41 | + </PropertyGroup> |
42 | 42 |
|
43 | | - <ItemGroup> |
44 | | - <!-- App Icon --> |
45 | | - <MauiIcon Include="Resources\appicon.svg" ForegroundFile="Resources\appiconfg.svg" Color="#512BD4" /> |
46 | | - <!-- Splash Screen --> |
47 | | - <MauiSplashScreen Include="Resources\appiconfg.svg" Color="#512BD4" BaseSize="128,128" /> |
48 | | - <!-- Images --> |
49 | | - <MauiImage Include="Resources\Images\*" /> |
50 | | - <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> |
51 | | - <!-- Custom Fonts --> |
52 | | - <MauiFont Include="Resources\Fonts\*" /> |
53 | | - <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
54 | | - <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
55 | | - </ItemGroup> |
| 43 | + <ItemGroup> |
| 44 | + <!-- App Icon --> |
| 45 | + <MauiIcon Include="Resources\appicon.svg" ForegroundFile="Resources\appiconfg.svg" Color="#512BD4" /> |
| 46 | + <!-- Splash Screen --> |
| 47 | + <MauiSplashScreen Include="Resources\appiconfg.svg" Color="#512BD4" BaseSize="128,128" /> |
| 48 | + <!-- Images --> |
| 49 | + <MauiImage Include="Resources\Images\*" /> |
| 50 | + <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> |
| 51 | + <!-- Custom Fonts --> |
| 52 | + <MauiFont Include="Resources\Fonts\*" /> |
| 53 | + <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
| 54 | + <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
| 55 | + </ItemGroup> |
56 | 56 |
|
57 | | - <ItemGroup> |
58 | | - <None Remove="MyOrderApp.code-workspace" /> |
59 | | - <None Remove="Resources\Images\background.jpg" /> |
60 | | - <None Remove="Resources\Images\basket.png" /> |
61 | | - <None Remove="Resources\Images\categories.png" /> |
62 | | - <None Remove="Resources\Images\chevron.png" /> |
63 | | - <None Remove="Resources\Images\favorite.png" /> |
64 | | - <None Remove="Resources\Images\favorites.png" /> |
65 | | - <None Remove="Resources\Images\home.png" /> |
66 | | - <None Remove="Resources\Images\not_favorite.png" /> |
67 | | - <None Remove="Resources\Images\products.png" /> |
68 | | - <None Remove="Resources\Images\remove.png" /> |
69 | | - <None Remove="Resources\Images\white_bread.png" /> |
70 | | - <None Remove="Resources\Raw\completed.json" /> |
71 | | - </ItemGroup> |
72 | | - |
73 | | - <ItemGroup> |
74 | | - <PackageReference Include="AutoMapper" Version="13.0.1" /> |
75 | | - <PackageReference Include="FmgLib.MauiMarkup" Version="8.8.1" /> |
76 | | - <PackageReference Include="LiteDB" Version="5.0.20" /> |
77 | | - <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.*" Condition="'$(Configuration)' == 'Debug'" /> |
78 | | - <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.40" /> |
79 | | - <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.40" /> |
80 | | - <PackageReference Include="CommunityToolkit.Maui" Version="9.0.1" /> |
81 | | - <PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" /> |
82 | | - <PackageReference Include="SkiaSharp.Extended.UI.Maui" Version="2.0.0" /> |
83 | | - </ItemGroup> |
| 57 | + <ItemGroup> |
| 58 | + <None Remove="MyOrderApp.code-workspace" /> |
| 59 | + <None Remove="Resources\Images\background.jpg" /> |
| 60 | + <None Remove="Resources\Images\basket.png" /> |
| 61 | + <None Remove="Resources\Images\categories.png" /> |
| 62 | + <None Remove="Resources\Images\chevron.png" /> |
| 63 | + <None Remove="Resources\Images\favorite.png" /> |
| 64 | + <None Remove="Resources\Images\favorites.png" /> |
| 65 | + <None Remove="Resources\Images\home.png" /> |
| 66 | + <None Remove="Resources\Images\not_favorite.png" /> |
| 67 | + <None Remove="Resources\Images\products.png" /> |
| 68 | + <None Remove="Resources\Images\remove.png" /> |
| 69 | + <None Remove="Resources\Images\white_bread.png" /> |
| 70 | + <None Remove="Resources\Raw\completed.json" /> |
| 71 | + </ItemGroup> |
| 72 | + <ItemGroup> |
| 73 | + <ProjectReference Include="..\..\src\FmgLib.MauiMarkup\FmgLib.MauiMarkup.csproj" /> |
| 74 | + </ItemGroup> |
| 75 | + <ItemGroup> |
| 76 | + <PackageReference Include="AutoMapper" Version="13.0.1" /> |
| 77 | + <PackageReference Include="LiteDB" Version="5.0.20" /> |
| 78 | + <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.*" Condition="'$(Configuration)' == 'Debug'" /> |
| 79 | + <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.40" /> |
| 80 | + <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.40" /> |
| 81 | + <PackageReference Include="CommunityToolkit.Maui" Version="9.0.1" /> |
| 82 | + <PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" /> |
| 83 | + <PackageReference Include="SkiaSharp.Extended.UI.Maui" Version="2.0.0" /> |
| 84 | + </ItemGroup> |
84 | 85 | </Project> |
0 commit comments