-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathEShopNative.csproj
More file actions
112 lines (92 loc) · 5.14 KB
/
EShopNative.csproj
File metadata and controls
112 lines (92 loc) · 5.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<Project Sdk="Microsoft.NET.Sdk">
<!-- =========================== GLOBAL PROJECT SETTINGS =========================== -->
<PropertyGroup>
<TargetFrameworks>net10.0-android;net10.0-ios;net10.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>EShopNative</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- App Info -->
<ApplicationTitle>EShopNative</ApplicationTitle>
<ApplicationId>com.companyname.eshopnative</ApplicationId>
<ApplicationVersion>1</ApplicationVersion>
<ApplicationDisplayVersion>0.1</ApplicationDisplayVersion>
<WindowsPackageVersion>1.0.1</WindowsPackageVersion>
<CFBundleShortVersionString>0.1</CFBundleShortVersionString>
<CFBundleVersion>1</CFBundleVersion>
<!-- Windows -->
<WindowsPackageType>None</WindowsPackageType>
<EnableWinRTWarnings>false</EnableWinRTWarnings>
<!-- Supported Platforms -->
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<!-- =========================== DEBUG (FAST BUILDS) =========================== -->
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net10.0-android|AnyCPU'">
<RunAOTCompilation>false</RunAOTCompilation>
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
<UseInterpreter>true</UseInterpreter>
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
</PropertyGroup>
<!-- =========================== RELEASE (AOT + OPTIMIZED) =========================== -->
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0-android|AnyCPU'">
<AndroidPackageFormat>apk</AndroidPackageFormat>
<!-- AOT -->
<RunAOTCompilation>true</RunAOTCompilation>
<AndroidEnableProfiledAot>true</AndroidEnableProfiledAot>
<!-- Optimization -->
<EnableLLVM>true</EnableLLVM>
<PublishTrimmed>true</PublishTrimmed>
<StripNativeDebugSymbols>true</StripNativeDebugSymbols>
<DebugSymbols>false</DebugSymbols>
<!-- Reduce APK size -->
<InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>
<!-- =========================== RESOURCES =========================== -->
<ItemGroup>
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
<MauiImage Include="Resources\Images\*" />
<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" />
<MauiFont Include="Resources\Fonts\*" />
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
<!-- =========================== NUGET PACKAGES =========================== -->
<ItemGroup>
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3" />
<PackageReference Include="CommunityToolkit.Maui" Version="14.0.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.2" />
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.31" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.2" />
</ItemGroup>
<!-- =========================== XAML COMPILATION =========================== -->
<ItemGroup>
<MauiXaml Update="CustomViews\LoadingOverlay.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Pages\HomePage.xaml"><Generator>MSBuild:Compile</Generator></MauiXaml>
<MauiXaml Update="Pages\RegisterPage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Pages\UserRoleEntry.xaml"><Generator>MSBuild:Compile</Generator></MauiXaml>
</ItemGroup>
<ItemGroup>
<Folder Include="Converters\" />
<Folder Include="Views\" />
</ItemGroup>
<ItemGroup>
<None Update="Pages\RegisterPage.xaml">
<Generator>MSBuild:Compile</Generator>
</None>
</ItemGroup>
</Project>