-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathReactiveUI.Samples.Maui.csproj
More file actions
46 lines (40 loc) · 2.71 KB
/
ReactiveUI.Samples.Maui.csproj
File metadata and controls
46 lines (40 loc) · 2.71 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- On CI, build as net10.0 library to validate compilation without triggering
platform packaging steps (Android Cecil bugs, Xcode version requirements).
Locally, build with full platform TFMs as an app. -->
<TargetFrameworks Condition="'$(GITHUB_ACTIONS)' == 'true'">net10.0</TargetFrameworks>
<TargetFrameworks Condition="'$(GITHUB_ACTIONS)' != 'true'">net10.0-android</TargetFrameworks>
<TargetFrameworks Condition="'$(GITHUB_ACTIONS)' != 'true' and ($([MSBuild]::IsOSPlatform('windows')) or $([MSBuild]::IsOSPlatform('osx')))">$(TargetFrameworks);net10.0-ios;net10.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="'$(GITHUB_ACTIONS)' != 'true' and $([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks>
<OutputType Condition="'$(TargetFramework)' != 'net10.0'">Exe</OutputType>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<MauiXamlInflator>SourceGen</MauiXamlInflator>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
<DefaultPackageDescription>A sample MAUI login application using ReactiveUI.</DefaultPackageDescription>
<IsAotCompatible>false</IsAotCompatible>
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
<EnableSingleFileAnalyzer>false</EnableSingleFileAnalyzer>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.19041.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.19041.0</TargetPlatformMinVersion>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.Contains('-windows'))">
<WindowsPackageType>None</WindowsPackageType>
<GenerateAppxPackageOnBuild>false</GenerateAppxPackageOnBuild>
<PublishAppxPackage>false</PublishAppxPackage>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\ReactiveUI.Maui\ReactiveUI.Maui.csproj"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls"/>
<PackageReference Include="Microsoft.Maui.Controls.Compatibility"/>
</ItemGroup>
</Project>