Skip to content

Commit 35c9cf3

Browse files
authored
Do not add xbf files to UpToDateCheckInput as they are output files. (#3522)
Fixes ADO#43580700
1 parent 8952558 commit 35c9cf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/MRTCore/packaging/MrtCore.PriGen.targets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,9 +1638,9 @@
16381638

16391639
<_EmbedFile Include="@(PackagingOutputs)" Condition="'%(OutputGroup)' == 'EmbedOutputGroupForPackaging' and '%(ProjectName)' == '$(ProjectName)'"/>
16401640

1641-
<!-- If we have the .xbf, we don't need the .xaml file. -->
1642-
<_LayoutFileXbfXaml Include="$([System.IO.Path]::ChangeExtension('%(_LayoutFile.Identity)','.xaml'))" Condition="'%(Extension)' == '.xbf'" />
1643-
<_LayoutFile Remove="@(_LayoutFileXbfXaml)" />
1641+
<!-- .xbf files are output files and shouldn't be added to input -->
1642+
<_LayoutFileXbf Include="@(_LayoutFile)" Condition="'%(Extension)' == '.xbf'" />
1643+
<_LayoutFile Remove="@(_LayoutFileXbf)" />
16441644

16451645
<!-- Filter out PRIResource files which are marked by C++ project system as ExcludedFromBuild. -->
16461646
<_PRIResourceFiltered Include="@(PRIResource)" Condition="'%(PRIResource.ExcludedFromBuild)' != 'true'" />

0 commit comments

Comments
 (0)