diff --git a/nuget/Microsoft.Windows.CppWinRT.targets b/nuget/Microsoft.Windows.CppWinRT.targets index e46e6b3ca..ee0ec5e16 100644 --- a/nuget/Microsoft.Windows.CppWinRT.targets +++ b/nuget/Microsoft.Windows.CppWinRT.targets @@ -26,7 +26,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. + and this is done by the CppWinRTComputeGenerateWindowsMetadata target. --> false false @@ -40,11 +40,9 @@ Copyright (C) Microsoft Corporation. All rights reserved. $(WindowsSDK_MetadataPathVersioned) - - $(GetTargetPathDependsOn);ComputeCppWinRTResolvedWinMD;CppWinRTResolvedWinMD; - - $(PrepareForBuildDependsOn);CppWinRTVerifyKitVersion; + $(PrepareForBuildDependsOn); + CppWinRTVerifyKitVersion; @@ -57,9 +55,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. $(AfterMidlTargets); GetCppWinRTMdMergeInputs; CppWinRTMergeProjectWinMDInputs; - ComputeCppWinRTResolvedWinMD; - CppWinRTResolvedWinMD; - CppWinRTResolvedWinMDToOutputDirectory; + GetResolvedWinMD; + CppWinRTCopyWinMDToOutputDirectory; $(ResolveAssemblyReferencesDependsOn);GetCppWinRTProjectWinMDReferences;CppWinRTRemoveStaticLibraries; @@ -122,21 +119,66 @@ Copyright (C) Microsoft Corporation. All rights reserved. - + + - true - false + + true + true + + + false + - + + + + + + + + + - - + + + true + + + + + $([System.IO.Path]::GetFileName('%(Link.WindowsMetadataFile)')) + true + + + + $(WinMDImplementationPath)$(TargetName)$(TargetExt) + winmd + true + $(ConfigurationType) + + + + + + + + $([System.IO.Path]::GetFileName('$(CppWinRTProjectWinMD)')) true $(WinMDImplementationPath)$(RootNamespace)$(TargetExt) @@ -146,7 +188,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. $(ConfigurationType) - + + - $(SolutionDir)..\..\_build\$(CppWinRTPlatform)\$(Configuration)\ - - diff --git a/test/nuget/Directory.Build.targets b/test/nuget/Directory.Build.targets index 10be4f7f6..dbe64925b 100644 --- a/test/nuget/Directory.Build.targets +++ b/test/nuget/Directory.Build.targets @@ -6,6 +6,4 @@ - - diff --git a/test/nuget/TestApp/TestApp.vcxproj b/test/nuget/TestApp/TestApp.vcxproj index f61367d6b..8587de1f3 100644 --- a/test/nuget/TestApp/TestApp.vcxproj +++ b/test/nuget/TestApp/TestApp.vcxproj @@ -1,5 +1,6 @@  + true true @@ -168,4 +169,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestRuntimeComponent1/TestRuntimeComponent1.vcxproj b/test/nuget/TestRuntimeComponent1/TestRuntimeComponent1.vcxproj index 5f92b074f..69fc368a5 100644 --- a/test/nuget/TestRuntimeComponent1/TestRuntimeComponent1.vcxproj +++ b/test/nuget/TestRuntimeComponent1/TestRuntimeComponent1.vcxproj @@ -1,5 +1,6 @@ + true true @@ -129,4 +130,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestRuntimeComponent2/TestRuntimeComponent2.vcxproj b/test/nuget/TestRuntimeComponent2/TestRuntimeComponent2.vcxproj index c30618143..6c4e26fdc 100644 --- a/test/nuget/TestRuntimeComponent2/TestRuntimeComponent2.vcxproj +++ b/test/nuget/TestRuntimeComponent2/TestRuntimeComponent2.vcxproj @@ -1,5 +1,6 @@ + true true @@ -136,4 +137,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestRuntimeComponent3/TestRuntimeComponent3.vcxproj b/test/nuget/TestRuntimeComponent3/TestRuntimeComponent3.vcxproj index 20b8301fd..55f224b40 100644 --- a/test/nuget/TestRuntimeComponent3/TestRuntimeComponent3.vcxproj +++ b/test/nuget/TestRuntimeComponent3/TestRuntimeComponent3.vcxproj @@ -1,5 +1,6 @@ + true true @@ -136,4 +137,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestRuntimeComponentCX/TestRuntimeComponentCX.vcxproj b/test/nuget/TestRuntimeComponentCX/TestRuntimeComponentCX.vcxproj index 739a7fbee..81767d259 100644 --- a/test/nuget/TestRuntimeComponentCX/TestRuntimeComponentCX.vcxproj +++ b/test/nuget/TestRuntimeComponentCX/TestRuntimeComponentCX.vcxproj @@ -1,5 +1,6 @@ + Debug @@ -262,4 +263,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestRuntimeComponentEmpty/TestRuntimeComponentEmpty.vcxproj b/test/nuget/TestRuntimeComponentEmpty/TestRuntimeComponentEmpty.vcxproj index 03fa5a174..274e6f474 100644 --- a/test/nuget/TestRuntimeComponentEmpty/TestRuntimeComponentEmpty.vcxproj +++ b/test/nuget/TestRuntimeComponentEmpty/TestRuntimeComponentEmpty.vcxproj @@ -1,5 +1,6 @@ + true true @@ -130,4 +131,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestStaticLibrary1/TestStaticLibrary1.vcxproj b/test/nuget/TestStaticLibrary1/TestStaticLibrary1.vcxproj index 8d00949aa..a6d96fcc5 100644 --- a/test/nuget/TestStaticLibrary1/TestStaticLibrary1.vcxproj +++ b/test/nuget/TestStaticLibrary1/TestStaticLibrary1.vcxproj @@ -1,5 +1,6 @@ + true true @@ -227,4 +228,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestStaticLibrary2/TestStaticLibrary2.vcxproj b/test/nuget/TestStaticLibrary2/TestStaticLibrary2.vcxproj index 3bae76471..e5ed5219f 100644 --- a/test/nuget/TestStaticLibrary2/TestStaticLibrary2.vcxproj +++ b/test/nuget/TestStaticLibrary2/TestStaticLibrary2.vcxproj @@ -1,5 +1,6 @@ + true true @@ -227,4 +228,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestStaticLibrary3/TestStaticLibrary3.vcxproj b/test/nuget/TestStaticLibrary3/TestStaticLibrary3.vcxproj index 4cea9b215..4ee9932f4 100644 --- a/test/nuget/TestStaticLibrary3/TestStaticLibrary3.vcxproj +++ b/test/nuget/TestStaticLibrary3/TestStaticLibrary3.vcxproj @@ -1,5 +1,6 @@ + true true @@ -222,4 +223,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestStaticLibrary4/TestStaticLibrary4.vcxproj b/test/nuget/TestStaticLibrary4/TestStaticLibrary4.vcxproj index b21c082d8..c23830ec0 100644 --- a/test/nuget/TestStaticLibrary4/TestStaticLibrary4.vcxproj +++ b/test/nuget/TestStaticLibrary4/TestStaticLibrary4.vcxproj @@ -1,5 +1,6 @@ + Debug @@ -204,4 +205,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestStaticLibrary5/TestStaticLibrary5.vcxproj b/test/nuget/TestStaticLibrary5/TestStaticLibrary5.vcxproj index 6d0fc2370..92a8a9336 100644 --- a/test/nuget/TestStaticLibrary5/TestStaticLibrary5.vcxproj +++ b/test/nuget/TestStaticLibrary5/TestStaticLibrary5.vcxproj @@ -1,5 +1,6 @@ + Debug @@ -204,4 +205,5 @@ + \ No newline at end of file diff --git a/test/nuget/TestStaticLibrary6/TestStaticLibrary6.vcxproj b/test/nuget/TestStaticLibrary6/TestStaticLibrary6.vcxproj index afab2bb75..e085518b4 100644 --- a/test/nuget/TestStaticLibrary6/TestStaticLibrary6.vcxproj +++ b/test/nuget/TestStaticLibrary6/TestStaticLibrary6.vcxproj @@ -1,5 +1,6 @@ + Debug @@ -215,4 +216,5 @@ + \ No newline at end of file