-
Notifications
You must be signed in to change notification settings - Fork 10
/
LiftLog.Maui.csproj
130 lines (99 loc) · 5.78 KB
/
LiftLog.Maui.csproj
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<TargetFrameworks>net9.0-android</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('osx'))">$(TargetFrameworks);net9.0-ios;</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>LiftLog.Maui</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<EnableDefaultCssItems>false</EnableDefaultCssItems>
<!-- Enums not handled exhaustively with numbers -->
<NoWarn>CS8524</NoWarn>
<!-- Display name -->
<ApplicationTitle>LiftLog</ApplicationTitle>
<!-- App Identifier -->
<ApplicationId>com.limajuice.liftlog</ApplicationId>
<ApplicationIdGuid>71733E37-6FDD-4EEF-A0BF-DE32634D58EC</ApplicationIdGuid>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion>
<Nullable>enable</Nullable>
<PackageId>LiftLog</PackageId>
<Title>LiftLog</Title>
<Authors>Liam Morrow</Authors>
<Company>LiftLog</Company>
<Product>LiftLog</Product>
<Version>$(ApplicationDisplayVersion)</Version>
<DefineConstants Condition=" '$(ExtraDefineConstants)' != '' ">$(DefineConstants);$(ExtraDefineConstants)</DefineConstants>
<CompressionEnabled>false</CompressionEnabled>
</PropertyGroup>
<!-- We recommend only using these features for release builds. -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<!-- Configure Sentry org and project -->
<SentryOrg>liftlog</SentryOrg>
<SentryProject>liflog-app</SentryProject>
<UseSentryCLI>false</UseSentryCLI>
<!--
Each of the below features are opt-in.
Enable the features you wish to use.
-->
<!-- Sends symbols to Sentry, enabling symbolication of stack traces. -->
<SentryUploadSymbols>true</SentryUploadSymbols>
<!-- Sends sources to Sentry, enabling display of source context. -->
<SentryUploadSources>true</SentryUploadSources>
<!-- If you are targeting Android, sends proguard mapping file to Sentry. -->
<SentryUploadAndroidProguardMapping
>true</SentryUploadAndroidProguardMapping>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>
<AndroidFastDeploymentType>Assemblies</AndroidFastDeploymentType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<RunAOTCompilation>true</RunAOTCompilation>
<AndroidStripILAfterAOT>true</AndroidStripILAfterAOT>
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
<EnableLLVM>true</EnableLLVM>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and '$(Configuration)' == 'Release'">
<MtouchLink>SdkOnly</MtouchLink>
<UseInterpreter>True</UseInterpreter>
<_ExportSymbolsExplicitly>false</_ExportSymbolsExplicitly>
</PropertyGroup>
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
<AndroidResource Include="Platforms\Android\Resources\xml\auto_backup_rules.xml" />
</ItemGroup>
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios' Or $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
<!-- For debugging, use '?mode=developer' for debug to bypass apple's CDN cache -->
<CustomEntitlements Condition="$(Configuration) == 'Debug'" Include="com.apple.developer.associated-domains" Type="StringArray" Value="applinks:app.liftlog.online?mode=developer" />
<!-- Non debugging, use normal applinks:url value -->
<CustomEntitlements Condition="$(Configuration) != 'Debug'" Include="com.apple.developer.associated-domains" Type="StringArray" Value="applinks:app.liftlog.online" />
</ItemGroup>
<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" ForegroundScale="0.50" Color="#FEF1EF" />
<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#FEF1EF" TintColor="#904A42" BaseSize="48,48" />
<!-- Images -->
<MauiImage Include="Resources\Images\*" />
<!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*" />
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MaterialColorUtilities.Maui" Version="0.3.0" />
<PackageReference Include="Plugin.InAppBilling" Version="8.0.5" />
<PackageReference Include="Plugin.LocalNotification" Version="11.1.4" />
<PackageReference Include="Plugin.Maui.AppRating" Version="1.2.0" />
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.12" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="9.0.12" />
<PackageReference Include="Sentry.Maui" Version="4.13.0" />
</ItemGroup>
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\LiftLog.Ui\LiftLog.Ui.csproj" />
</ItemGroup>
</Project>