From 20523d341d54f47ce70fa3ca1f580eca418c8df8 Mon Sep 17 00:00:00 2001 From: Johan Lindfors Date: Sun, 9 Feb 2020 11:55:05 +0100 Subject: [PATCH 1/3] Upgraded C++WinRT and retargeted Dynamic lib to target 18362 --- Library/Library.Dynamic.vcxproj | 10 +++++----- Library/packages.config | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Library/Library.Dynamic.vcxproj b/Library/Library.Dynamic.vcxproj index 09476ed..4d4fa60 100644 --- a/Library/Library.Dynamic.vcxproj +++ b/Library/Library.Dynamic.vcxproj @@ -1,6 +1,6 @@ - + true {ff83c824-0c56-43bc-b61e-b52d04c8954f} @@ -11,7 +11,7 @@ true Windows Store 10.0 - 10.0.17763.0 + 10.0.18362.0 10.0.17763.0 @@ -64,7 +64,7 @@ - + @@ -128,7 +128,7 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + \ No newline at end of file diff --git a/Library/packages.config b/Library/packages.config index cee5cec..1a7a381 100644 --- a/Library/packages.config +++ b/Library/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file From 7a74d02fb34facf3e2502cf5fa1f6a5755af01dc Mon Sep 17 00:00:00 2001 From: Johan Lindfors Date: Sun, 9 Feb 2020 12:06:46 +0100 Subject: [PATCH 2/3] Retargeted solution to 142, upgraded C++WinRT --- Client/CppCx/Client.CppCx.vcxproj | 20 ++++++++++---------- Client/CppWinRT/Client.CppWinRT.vcxproj | 14 +++++++------- Client/CppWinRT/packages.config | 2 +- Library/Library.Dynamic.vcxproj | 6 +++--- Library/Library.Static.vcxproj | 24 ++++++++++++------------ 5 files changed, 33 insertions(+), 33 deletions(-) diff --git a/Client/CppCx/Client.CppCx.vcxproj b/Client/CppCx/Client.CppCx.vcxproj index 5212108..1682764 100644 --- a/Client/CppCx/Client.CppCx.vcxproj +++ b/Client/CppCx/Client.CppCx.vcxproj @@ -7,8 +7,8 @@ 14.0 true Windows Store - 10.0.17763.0 - 10.0.17763.0 + 10.0 + 10.0.18362.0 10.0 CppCx @@ -50,50 +50,50 @@ Application true - v141 + v142 Application true - v141 + v142 Application true - v141 + v142 Application true - v141 + v142 true Application false true - v141 + v142 true Application false true - v141 + v142 true Application false true - v141 + v142 true Application false true - v141 + v142 true diff --git a/Client/CppWinRT/Client.CppWinRT.vcxproj b/Client/CppWinRT/Client.CppWinRT.vcxproj index 9dab53f..e00cac0 100644 --- a/Client/CppWinRT/Client.CppWinRT.vcxproj +++ b/Client/CppWinRT/Client.CppWinRT.vcxproj @@ -1,6 +1,6 @@  - + true true @@ -12,8 +12,8 @@ true Windows Store 10.0 - 10.0.17763.0 - 10.0.17763.0 + 10.0 + 10.0.18362.0 @@ -44,7 +44,7 @@ Application - v141 + v142 Unicode @@ -176,13 +176,13 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + \ No newline at end of file diff --git a/Client/CppWinRT/packages.config b/Client/CppWinRT/packages.config index cee5cec..1a7a381 100644 --- a/Client/CppWinRT/packages.config +++ b/Client/CppWinRT/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/Library/Library.Dynamic.vcxproj b/Library/Library.Dynamic.vcxproj index 4d4fa60..b418731 100644 --- a/Library/Library.Dynamic.vcxproj +++ b/Library/Library.Dynamic.vcxproj @@ -11,8 +11,8 @@ true Windows Store 10.0 - 10.0.18362.0 - 10.0.17763.0 + 10.0 + 10.0.18362.0 @@ -43,7 +43,7 @@ DynamicLibrary - v141 + v142 Unicode false diff --git a/Library/Library.Static.vcxproj b/Library/Library.Static.vcxproj index 080afa2..a86e48b 100644 --- a/Library/Library.Static.vcxproj +++ b/Library/Library.Static.vcxproj @@ -1,6 +1,6 @@ - + Debug @@ -38,8 +38,8 @@ 14.0 true Windows Store - 10.0.17763.0 - 10.0.17763.0 + 10.0 + 10.0.18362.0 10.0 Static @@ -47,35 +47,35 @@ StaticLibrary true - v141 + v142 StaticLibrary true - v141 + v142 StaticLibrary true - v141 + v142 StaticLibrary false true - v141 + v142 StaticLibrary false true - v141 + v142 StaticLibrary false true - v141 + v142 @@ -203,13 +203,13 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + \ No newline at end of file From b343b83f1d4c10ac4df2134aa02986c22bc83df5 Mon Sep 17 00:00:00 2001 From: Johan Lindfors Date: Sun, 9 Feb 2020 12:18:29 +0100 Subject: [PATCH 3/3] Post-build event to copy winmd --- Library/Library.Dynamic.vcxproj | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Library/Library.Dynamic.vcxproj b/Library/Library.Dynamic.vcxproj index b418731..b8a3add 100644 --- a/Library/Library.Dynamic.vcxproj +++ b/Library/Library.Dynamic.vcxproj @@ -106,11 +106,35 @@ _DEBUG;%(PreprocessorDefinitions) + + copy /Y "$(TargetDir)Merged\Library.winmd" "$(TargetDir)Library.winmd" + Copies the merged winmd to appropriate directory for reference resolution + + + copy /Y "$(TargetDir)Merged\Library.winmd" "$(TargetDir)Library.winmd" + Copies the merged winmd to appropriate directory for reference resolution + + + copy /Y "$(TargetDir)Merged\Library.winmd" "$(TargetDir)Library.winmd" + Copies the merged winmd to appropriate directory for reference resolution + NDEBUG;%(PreprocessorDefinitions) + + copy /Y "$(TargetDir)Merged\Library.winmd" "$(TargetDir)Library.winmd" + Copies the merged winmd to appropriate directory for reference resolution + + + copy /Y "$(TargetDir)Merged\Library.winmd" "$(TargetDir)Library.winmd" + Copies the merged winmd to appropriate directory for reference resolution + + + copy /Y "$(TargetDir)Merged\Library.winmd" "$(TargetDir)Library.winmd" + Copies the merged winmd to appropriate directory for reference resolution +