diff --git a/build/nuget/uno.winui.winappsdk.targets b/build/nuget/uno.winui.winappsdk.targets
index 99deea308ef9..b43109c09bc7 100644
--- a/build/nuget/uno.winui.winappsdk.targets
+++ b/build/nuget/uno.winui.winappsdk.targets
@@ -13,6 +13,10 @@
FindReferenceAssembliesForReferences;
MarkupCompilePass1;
+
+
+ true
+ false
+ BeforeTargets="$(_UnoRemoveReferences_BeforeTargets)"
+ Condition="$(ShouldComputeInputPris)">