160 lines
6.7 KiB
XML
160 lines
6.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net8.0-maccatalyst;net8.0-android</TargetFrameworks>
|
|
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
|
|
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
|
|
|
|
<!-- Note for MacCatalyst:
|
|
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
|
|
When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>.
|
|
The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated;
|
|
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
|
|
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
|
|
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>Jugenddienst_Stunden</RootNamespace>
|
|
<UseMaui>true</UseMaui>
|
|
<SingleProject>true</SingleProject>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
|
|
<!-- Display name -->
|
|
<ApplicationTitle>Jugenddienst Stunden</ApplicationTitle>
|
|
|
|
<!-- App Identifier -->
|
|
<ApplicationId>com.companyname.jugenddienststunden</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'">29.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>
|
|
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
|
<PackageIcon>paket_icon.png</PackageIcon>
|
|
<NeutralLanguage>de</NeutralLanguage>
|
|
</PropertyGroup>
|
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-maccatalyst|AnyCPU'">
|
|
<Optimize>True</Optimize>
|
|
<ApplicationId>com.danielpichler.jugenddienststunden</ApplicationId>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-maccatalyst|AnyCPU'">
|
|
<Optimize>True</Optimize>
|
|
<ApplicationId>com.danielpichler.jugenddienststunden</ApplicationId>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-android34.0|AnyCPU'">
|
|
<Optimize>True</Optimize>
|
|
<ApplicationId>com.danielpichler.jugenddienststunden</ApplicationId>
|
|
<Debugger>Xamarin</Debugger>
|
|
<DebugSymbols>True</DebugSymbols>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<DefaultLanguage>de-de</DefaultLanguage>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-windows10.0.26100.0|AnyCPU'">
|
|
<ApplicationId>com.danielpichler.jugenddienststunden</ApplicationId>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-android34.0|AnyCPU'">
|
|
<ApplicationId>com.danielpichler.jugenddienststunden</ApplicationId>
|
|
<Debugger>Xamarin</Debugger>
|
|
<DebugSymbols>True</DebugSymbols>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-windows10.0.26100.0|AnyCPU'">
|
|
<ApplicationId>com.danielpichler.jugenddienststunden</ApplicationId>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.26100.0</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- App Icon -->
|
|
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
|
|
|
|
<!-- Splash Screen -->
|
|
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#F7931D" BaseSize="128,128" />
|
|
|
|
<!-- 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>
|
|
<None Include="..\paket_icon.png">
|
|
<Pack>True</Pack>
|
|
<PackagePath>\</PackagePath>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
|
|
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.80">
|
|
<TreatAsUsed>true</TreatAsUsed>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.80" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
|
|
<PackageReference Include="Microsoft.Maui.Graphics" Version="8.0.80" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
|
<PackageReference Include="ZXing.Net.Maui.Controls" Version="0.4.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Properties\Resources.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Views\LoginPage.xaml.cs">
|
|
<DependentUpon>LoginPage.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Views\StundePage.xaml.cs">
|
|
<DependentUpon>StundePage.xaml</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<MauiXaml Update="Views\LoginPage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\AllNotesPage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\StundePage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\NotePage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\StundenPage.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
</ItemGroup>
|
|
|
|
</Project>
|