We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36567e6 commit 9fc5cecCopy full SHA for 9fc5cec
nuget/Microsoft.Windows.CppWinRT.targets
@@ -132,7 +132,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
132
<_FilesToDelete Include="$(GeneratedFilesDir)**"/>
133
<_FilesToDelete Include="$(CppWinRTMergedDir)**"/>
134
<_FilesToDelete Include="$(CppWinRTUnmergedDir)**"/>
135
- <_FilesToDelete Include="$(CppWinRTProjectWinMD)"/>
+ <_FilesToDelete Include="$(CppWinRTProjectWinMD)" Condition="'$(CppWinRTGenerateWindowsMetadata)' == 'true'"/>
136
</ItemGroup>
137
<Delete Files="@(_FilesToDelete)"/>
138
</Target>
0 commit comments