Skip to content

Commit

Permalink
Merge pull request #17986 from unoplatform/mergify/bp/release/stable/…
Browse files Browse the repository at this point in the history
…5.2/pr-17088

build: Copy WinAppSDK fix (backport #17088)
  • Loading branch information
jeromelaban authored Aug 26, 2024
2 parents e914430 + 6a6fbf2 commit 60b8125
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/nuget/uno.winui.winappsdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
FindReferenceAssembliesForReferences;
MarkupCompilePass1;
</_UnoRemoveReferences_BeforeTargets>

<!-- Copy from https://github.com/microsoft/WindowsAppSDK/pull/4124 -->
<ShouldComputeInputPris Condition="'$(ShouldComputeInputPris)' == '' AND ('$(OutputType)' == 'WinExe' OR '$(OutputType)' == 'Exe')">true</ShouldComputeInputPris>
<ShouldComputeInputPris Condition="'$(ShouldComputeInputPris)' == ''">false</ShouldComputeInputPris>
</PropertyGroup>

<Target Name="_UnoRemoveReferences"
Expand Down Expand Up @@ -44,7 +48,8 @@
</Target>

<Target Name="_UnoIncludeUIToolkit"
BeforeTargets="$(_UnoRemoveReferences_BeforeTargets)">
BeforeTargets="$(_UnoRemoveReferences_BeforeTargets)"
Condition="$(ShouldComputeInputPris)">

<!--
Since we're not using the standard packaging mechanism, the Uno.UI.Toolkit resources
Expand Down

0 comments on commit 60b8125

Please sign in to comment.