137 lines
5.6 KiB
XML
137 lines
5.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net8.0-ios</TargetFrameworks>
|
|
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>Blahblah.FlowerApp</RootNamespace>
|
|
<UseMaui>true</UseMaui>
|
|
<SingleProject>true</SingleProject>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<!--<PublishAot>true</PublishAot>-->
|
|
|
|
<!-- Display name -->
|
|
<ApplicationTitle>Flower Story</ApplicationTitle>
|
|
|
|
<!-- App Identifier -->
|
|
<ApplicationId>org.blahblah.flowerstory</ApplicationId>
|
|
<ApplicationIdGuid>2a32c3a1-d02e-450d-b524-5dbea90f13ed</ApplicationIdGuid>
|
|
|
|
<!-- Versions -->
|
|
<ApplicationDisplayVersion>0.3.802</ApplicationDisplayVersion>
|
|
<ApplicationVersion>5</ApplicationVersion>
|
|
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion>
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">23.0</SupportedOSPlatformVersion>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)' == 'Debug|net8.0-android'">
|
|
<RuntimeIdentifiers>android-x64</RuntimeIdentifiers>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)' == 'Release|net8.0-android'">
|
|
<RuntimeIdentifiers>android-x64;android-arm64</RuntimeIdentifiers>
|
|
<AndroidPackageFormat>apk</AndroidPackageFormat>
|
|
<AndroidCreatePackagePerAbi>true</AndroidCreatePackagePerAbi>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
|
|
<CreatePackage>false</CreatePackage>
|
|
<ProvisioningType>manual</ProvisioningType>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)' == 'Debug|net8.0-ios'">
|
|
<CodesignKey>Apple Development</CodesignKey>
|
|
<CodesignProvision>Flower Story Development</CodesignProvision>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)' == 'Release|net8.0-ios'">
|
|
<CodesignKey>Apple Distribution</CodesignKey>
|
|
<CodesignProvision>Flower Story Ad-Hoc</CodesignProvision>
|
|
<EnableAssemblyILStripping>false</EnableAssemblyILStripping>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- App Icon -->
|
|
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#297b2c" />
|
|
|
|
<!-- Splash Screen -->
|
|
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#297b2c" BaseSize="128,128" />
|
|
|
|
<!-- Images -->
|
|
<MauiImage Include="Resources\Images\*" />
|
|
<MauiImage Update="Resources\Images\cube.svg" BaseSize="24,24" />
|
|
<MauiImage Update="Resources\Images\flower_tulip.svg" BaseSize="24,24" />
|
|
<MauiImage Update="Resources\Images\user.svg" BaseSize="24,24" />
|
|
|
|
<!-- 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="CommunityToolkit.Maui" Version="5.2.0" /> -->
|
|
<PackageReference Include="Microsoft.Extensions.Localization" Version="7.0.9" />
|
|
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
|
|
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0-preview.6.23329.7" />
|
|
<PackageReference Include="sqlite-net-pcl" Version="1.8.116" />
|
|
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.5" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Localizations.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Localizations.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="HomePage.xaml.cs">
|
|
<DependentUpon>HomePage.xaml</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Localizations.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Localizations.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Update="Localizations.zh.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="Handlers\" />
|
|
<Folder Include="Platforms\Android\Controls\" />
|
|
<Folder Include="Platforms\iOS\Controls\" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<MauiAsset Include="Resources\en.lproj\InfoPlist.strings" />
|
|
<MauiAsset Include="Resources\zh_CN.lproj\InfoPlist.strings" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<MauiXaml Update="LoginPage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="SquarePage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="UserPage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\Garden\AddFlowerPage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\User\LogItemPage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\User\LogPage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
</ItemGroup>
|
|
</Project>
|