Skip to content

Commit

Permalink
Do not delete (clean) a file not written by this target (fixes #1173). (
Browse files Browse the repository at this point in the history
#1174)

Co-authored-by: Kenny Kerr <kenny@kennykerr.ca>
  • Loading branch information
davidmatson and kennykerr authored Aug 22, 2022
1 parent 36567e6 commit 9fc5cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuget/Microsoft.Windows.CppWinRT.targets
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
<_FilesToDelete Include="$(GeneratedFilesDir)**"/>
<_FilesToDelete Include="$(CppWinRTMergedDir)**"/>
<_FilesToDelete Include="$(CppWinRTUnmergedDir)**"/>
<_FilesToDelete Include="$(CppWinRTProjectWinMD)"/>
<_FilesToDelete Include="$(CppWinRTProjectWinMD)" Condition="'$(CppWinRTGenerateWindowsMetadata)' == 'true'"/>
</ItemGroup>
<Delete Files="@(_FilesToDelete)"/>
</Target>
Expand Down

0 comments on commit 9fc5cec

Please sign in to comment.