File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -216,12 +216,12 @@ Copyright (C) Microsoft Corporation. All rights reserved.
216216 <CallTarget Targets =" CppWinRTComputeGenerateWindowsMetadata" />
217217 </Target >
218218
219- <!-- This target overrides the GetResolvedWinMD target used to resolve the WinMD for native projects
219+ <!-- This target hooks into the GetResolvedWinMD target used to resolve the WinMD for native projects
220220 so it is aware of the C++/WinRT generated WinMD.
221- Since not every project that consumes C++/WinRT uses it to generate a WinMD,
222- we need to keep the CX logic as well. -->
221+ There is no good way to hook GetResolvedWinMD so we use BeforeTargets. -->
223222 <Target Name =" CppWinRTGetResolvedWinMD"
224223 DependsOnTargets =" CppWinRTComputeGetResolvedWinMD"
224+ BeforeTargets =" GetResolvedWinMD"
225225 Returns =" @(WinMDFullPath)" >
226226
227227 <!-- Add C++/WinRT primary WinMD to the WinMDFullPath if CppWinRTGenerateWindowsMetadata is true -->
You can’t perform that action at this time.
0 commit comments