File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -520,9 +520,15 @@ $(XamlMetaDataProviderPch)
520520 <Exec Command =" $(CppWinRTCommand)" Condition =" '@(_CppwinrtCompInputs)' != ''" />
521521 </Target >
522522
523- <!-- Main target that generates all the CppWinRT projections. -->
524- <Target Name =" CppWinRTMakeProjections" DependsOnTargets =" CppWinRTMakePlatformProjection;CppWinRTMakeReferenceProjection;CppWinRTMakeComponentProjection;$(CppWinRTMakeProjectionsDependsOn)" />
523+ <Target Name =" CppWinRTMakeProjections" DependsOnTargets =" CppWinRTCalculateEnabledProjections;CppWinRTMakePlatformProjection;CppWinRTMakeReferenceProjection;CppWinRTMakeComponentProjection;$(CppWinRTMakeProjectionsDependsOn)" />
525524
525+ <!-- Add references to all merged project WinMD files for Xaml Compiler-->
526+ <Target Name =" CppWinRTAddXamlReferences" DependsOnTargets =" $(CppWinRTAddXamlReferencesDependsOn)" >
527+ <ItemGroup >
528+ <XamlReferencesToCompile Include =" $(OutDir)*.winmd" />
529+ </ItemGroup >
530+ </Target >
531+
526532 <!-- Clear merged assembly and set local assembly for Xaml Compiler.
527533 (Note: this can be removed when CppWinRT references are removed from the Xaml targets file.)-->
528534 <Target Name =" CppWinRTSetXamlLocalAssembly" DependsOnTargets =" $(CppWinRTSetXamlLocalAssemblyDependsOn)" >
You can’t perform that action at this time.
0 commit comments