96 lines
4.9 KiB
XML
96 lines
4.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
|
|
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</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);net7.0-tizen</TargetFrameworks> -->
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>Selector.MAUI</RootNamespace>
|
|
<UseMaui>true</UseMaui>
|
|
<SingleProject>true</SingleProject>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<EnableDefaultCssItems>false</EnableDefaultCssItems>
|
|
|
|
<!-- Display name -->
|
|
<ApplicationTitle>Selector</ApplicationTitle>
|
|
|
|
<!-- App Identifier -->
|
|
<ApplicationId>xyz.sarsoo.selector.maui</ApplicationId>
|
|
<ApplicationIdGuid>D33C256B-9FD7-4EA2-A675-C859295E71B2</ApplicationIdGuid>
|
|
|
|
<!-- 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="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-ios|AnyCPU'">
|
|
<CreatePackage>false</CreatePackage>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net7.0-ios|AnyCPU'">
|
|
<CreatePackage>false</CreatePackage>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst' and '$(Configuration)' == 'Debug'">
|
|
<CodeSignEntitlements>Platforms/MacCatalyst/Entitlements.Debug.plist</CodeSignEntitlements>
|
|
</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\*" />
|
|
<MauiFont Include="Resources\Fonts\*" />
|
|
|
|
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
|
|
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
|
|
<PackageReference Include="System.Net.Http.Json" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
|
|
<!-- <PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="7.0.2" /> -->
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.Forms" Version="7.0.2" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Services\" />
|
|
<None Remove="Microsoft.Extensions.Http" />
|
|
<None Remove="System.Net.Http.Json" />
|
|
<None Remove="NLog.Extensions.Logging" />
|
|
<None Remove="NLog" />
|
|
<None Remove="Microsoft.Extensions.Logging.Console" />
|
|
<None Remove="Models\" />
|
|
<None Remove="Microsoft.AspNetCore.SignalR.Client" />
|
|
<None Remove="Microsoft.AspNetCore.Components.Forms" />
|
|
<None Remove="Platforms\iOS\Entitlements.plist" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Services\" />
|
|
<Folder Include="Models\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Selector\Selector.csproj" />
|
|
<ProjectReference Include="..\Selector.SignalR\Selector.SignalR.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Remove="nlog.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- <None Include="nlog.config">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None> -->
|
|
</ItemGroup>
|
|
</Project>
|