2
0

auto app building
Some checks failed
CI / Build Samples (Windows) (push) Failing after 7h59m55s
CI / Build Samples (Linux x64) (push) Failing after 18s
CI / Build Samples (Linux arm64) (push) Has been cancelled
CI / Build Samples (macOS) (push) Has been cancelled

This commit is contained in:
2026-01-24 08:00:33 +00:00
parent 73ee0b2bb3
commit 8a3e3f6283
4 changed files with 36 additions and 6 deletions

View File

@@ -28,11 +28,16 @@
<RuntimeIdentifiers>linux-x64;linux-arm64</RuntimeIdentifiers>
</PropertyGroup>
<!-- OpenMaui Linux Platform (used on Linux) -->
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
<!-- OpenMaui Linux Platform - Local development (ProjectReference) -->
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('Linux')) AND Exists('../../maui-linux/OpenMaui.Controls.Linux.csproj') AND '$(UsePackageReference)' != 'true'">
<ProjectReference Include="../../maui-linux/OpenMaui.Controls.Linux.csproj" />
</ItemGroup>
<!-- OpenMaui Linux Platform - CI/CD builds (PackageReference) -->
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('Linux')) AND (!Exists('../../maui-linux/OpenMaui.Controls.Linux.csproj') OR '$(UsePackageReference)' == 'true')">
<PackageReference Include="OpenMaui.Controls.Linux" Version="*" />
</ItemGroup>
<!-- XAML Files -->
<ItemGroup>
<MauiXaml Update="**/*.xaml" />