90 lines
4.8 KiB
XML
90 lines
4.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0-ios</TargetFramework>
|
|
<GenerateXcodeProject>true</GenerateXcodeProject>
|
|
|
|
<!-- 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>BimAI.UI.Mobile</RootNamespace>
|
|
<UseMaui>true</UseMaui>
|
|
<SingleProject>true</SingleProject>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<EnableDefaultCssItems>false</EnableDefaultCssItems>
|
|
<Nullable>enable</Nullable>
|
|
|
|
<!-- Display name -->
|
|
<ApplicationTitle>BimAI</ApplicationTitle>
|
|
|
|
<!-- App Identifier -->
|
|
<ApplicationId></ApplicationId>
|
|
|
|
<!-- Versions -->
|
|
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
|
<ApplicationVersion>1</ApplicationVersion>
|
|
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion>
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.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>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Platform)' == 'iPhone'">
|
|
<ApplicationId></ApplicationId>
|
|
<CodesignKey>Apple Development: Michal Zielinski (2F35ZHMBTB)</CodesignKey>
|
|
<CodesignProvision>bimai-local</CodesignProvision>
|
|
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
|
|
</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="#512BD4" BaseSize="128,128"/>
|
|
|
|
<!-- Images -->
|
|
<MauiImage Include="Resources\Images\*"/>
|
|
<MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208"/>
|
|
|
|
<!-- Custom Fonts -->
|
|
<MauiFont Include="Resources\Fonts\*"/>
|
|
|
|
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
|
|
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)"/>
|
|
|
|
<!-- Dodaj pliki wwwroot jako MAUI assets -->
|
|
<MauiAsset Include="wwwroot\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)"/>
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.9"/>
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.9"/>
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="9.0.9"/>
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.9"/>
|
|
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)"/>
|
|
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)"/>
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="$(MauiVersion)"/>
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.1"/>
|
|
<PackageReference Include="MudBlazor" Version="8.8.0"/>
|
|
<PackageReference Include="ZXing.Net.MAUI" Version="0.4.0"/>
|
|
<PackageReference Include="ZXing.Net.MAUI.Controls" Version="0.4.0"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\BimAI.UI.Shared\BimAI.UI.Shared.csproj"/>
|
|
</ItemGroup>
|
|
|
|
</Project> |