Skip to content

Commit 7c89d29

Browse files
authored
Clean more specific output files. (#838)
1 parent 5e1b063 commit 7c89d29

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

nuget/Microsoft.Windows.CppWinRT.targets

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,9 @@ Copyright (C) Microsoft Corporation. All rights reserved.
124124
<ItemGroup>
125125
<_FilesToDelete Remove="@(_FilesToDelete)"/>
126126
<_FilesToDelete Include="$(GeneratedFilesDir)**"/>
127-
<_FilesToDelete Include="$(OutDir)*.winmd"/>
128-
<_FilesToDelete Include="$(IntDir)*.winmd"/>
129-
<_FilesToDelete Include="$(IntDir)*.idl"/>
130-
<_FilesToDelete Include="$(IntDir)*.rsp"/>
131127
<_FilesToDelete Include="$(CppWinRTMergedDir)**"/>
132128
<_FilesToDelete Include="$(CppWinRTUnmergedDir)**"/>
129+
<_FilesToDelete Include="$(CppWinRTProjectWinMD)"/>
133130
</ItemGroup>
134131
<Delete Files="@(_FilesToDelete)"/>
135132
</Target>
@@ -600,6 +597,10 @@ $(XamlMetaDataProviderPch)
600597
SkipUnchangedFiles="$(CppWinRTSkipUnchangedFiles)"
601598
SourceFiles="@(_MdMergedOutput)"
602599
DestinationFiles="@(_MdMergedOutput->'$(OutDir)%(Filename)%(Extension)')" />
600+
601+
<ItemGroup>
602+
<FileWrites Include="$(CppWinRTProjectWinMD)"/>
603+
</ItemGroup>
603604
</Target>
604605

605606
<!--

0 commit comments

Comments
 (0)