-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSyncOne.csproj
More file actions
155 lines (130 loc) · 7.03 KB
/
SyncOne.csproj
File metadata and controls
155 lines (130 loc) · 7.03 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0-maccatalyst;net8.0-android34.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>SyncOne</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- Display name -->
<ApplicationTitle>SyncOne</ApplicationTitle>
<!-- App Identifier -->
<ApplicationId>com.companyname.syncone</ApplicationId>
<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</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>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<AndroidSigningKeyStore>syncone.keystore</AndroidSigningKeyStore>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-android|AnyCPU'">
<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyAlias>synckey</AndroidSigningKeyAlias>
<AndroidSigningStorePass>$(AndroidSigningStorePass)</AndroidSigningStorePass>
<AndroidSigningKeyPass>$(AndroidSigningKeyPass)</AndroidSigningKeyPass>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-android|AnyCPU'">
<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyAlias>synckey</AndroidSigningKeyAlias>
<DebugSymbols>True</DebugSymbols>
<AndroidPackageFormat>apk</AndroidPackageFormat>
<AndroidSigningStorePass>$(AndroidSigningStorePass)</AndroidSigningStorePass>
<AndroidSigningKeyPass>$(AndroidSigningKeyPass)</AndroidSigningKeyPass>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-android34.0|AnyCPU'">
<AndroidPackageFormat>apk</AndroidPackageFormat>
<DebugSymbols>True</DebugSymbols>
<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyAlias>synckey</AndroidSigningKeyAlias>
<RunAOTCompilation>False</RunAOTCompilation>
<PublishTrimmed>False</PublishTrimmed>
<ApplicationId>com.agrione.syncone</ApplicationId>
<AndroidSigningStorePass>$(AndroidSigningStorePass)</AndroidSigningStorePass>
<AndroidSigningKeyPass>$(AndroidSigningKeyPass)</AndroidSigningKeyPass>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-android34.0|AnyCPU'">
<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyAlias>synckey</AndroidSigningKeyAlias>
<ApplicationId>com.agrione.syncone</ApplicationId>
<AndroidSigningStorePass>$(AndroidSigningStorePass)</AndroidSigningStorePass>
<AndroidSigningKeyPass>$(AndroidSigningKeyPass)</AndroidSigningKeyPass>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-maccatalyst|AnyCPU'">
<ApplicationId>com.agrione.syncone</ApplicationId>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-maccatalyst|AnyCPU'">
<ApplicationId>com.agrione.syncone</ApplicationId>
</PropertyGroup>
<ItemGroup>
<!-- App Icon -->
<!-- Splash Screen -->
<!-- Images -->
<MauiImage Include="Resources\Images\*" />
<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" />
<!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*" />
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Remove="NewFolder\**" />
<EmbeddedResource Remove="NewFolder\**" />
<MauiCss Remove="NewFolder\**" />
<MauiXaml Remove="NewFolder\**" />
<None Remove="NewFolder\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Models\AppSettings.cs" />
<Compile Remove="Services\SettingsService.cs" />
</ItemGroup>
<ItemGroup>
<None Remove="Resources\AppIcon\appicon.svg" />
<None Remove="Resources\Splash\splash.svg" />
</ItemGroup>
<ItemGroup>
<MauiIcon Include="Resources\AppIcon\appicon.svg" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AathifMahir.Maui.MauiIcons.Material" Version="4.0.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="9.0.0" />
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.1" />
<PackageReference Include="Polly" Version="8.5.0" />
<PackageReference Include="sqlite-net-pcl" Version="1.9.172" />
</ItemGroup>
<ItemGroup>
<MauiSplashScreen Include="Resources\Splash\splash.svg" />
</ItemGroup>
<ItemGroup>
<MauiXaml Update="Views\ConfigurationPage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
</ItemGroup>
<PropertyGroup>
<KeystorePropsFile>Platforms/Android/local.properties</KeystorePropsFile>
</PropertyGroup>
<Target Name="ReadKeystoreProperties" BeforeTargets="PrepareForBuild" Condition="Exists($(KeystorePropsFile))">
<ReadLinesFromFile File="$(KeystorePropsFile)">
<Output TaskParameter="Lines" ItemName="KeystorePropLines" />
</ReadLinesFromFile>
<ItemGroup>
<KeystoreProps Include="@(KeystorePropLines)">
<Key>$([System.Text.RegularExpressions.Regex]::Match(%(KeystorePropLines.Identity), '^(.*)=').Groups[1].Value)</Key>
<Value>$([System.Text.RegularExpressions.Regex]::Match(%(KeystorePropLines.Identity), '=(.*)$').Groups[1].Value)</Value>
</KeystoreProps>
</ItemGroup>
<PropertyGroup>
<AndroidSigningStorePass>@(KeystoreProps->WithMetadataValue('Key', 'key.store.password')->'%(Value)')</AndroidSigningStorePass>
<AndroidSigningKeyPass>@(KeystoreProps->WithMetadataValue('Key', 'key.alias.password')->'%(Value)')</AndroidSigningKeyPass>
</PropertyGroup>
</Target>
</Project>