From 3b1848368ffe8220973b12de2f76fdc8c0114683 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sun, 13 Jan 2019 19:08:11 -0600 Subject: Update to latest Cpp.Build.props for locating latest Win10 SDK. Remove unused Microsoft.VisualStudio.Setup.Configuration.Native package. --- src/Cpp.Build.props | 6 +++++- src/ca/packages.config | 1 - src/ca/precomp.h | 1 - src/ca/utilca.vcxproj | 9 --------- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/Cpp.Build.props b/src/Cpp.Build.props index 296b36ca..0e00132b 100644 --- a/src/Cpp.Build.props +++ b/src/Cpp.Build.props @@ -8,6 +8,10 @@ $(OutputPath)$(Platform)\ + + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0')) + + $(DisableSpecificCompilerWarnings) @@ -16,7 +20,7 @@ WIN32;_WINDOWS;_WIN32_MSI=500;_WIN32_WINNT=0x0501;$(ArmPreprocessorDefinitions);$(UnicodePreprocessorDefinitions);_CRT_STDIO_LEGACY_WIDE_SPECIFIERS;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions) Use precomp.h - StdCall + StdCall true false -YlprecompDefine diff --git a/src/ca/packages.config b/src/ca/packages.config index b74ff5d0..b87f9ab4 100644 --- a/src/ca/packages.config +++ b/src/ca/packages.config @@ -1,6 +1,5 @@  - \ No newline at end of file diff --git a/src/ca/precomp.h b/src/ca/precomp.h index 45984156..66e2f6b0 100644 --- a/src/ca/precomp.h +++ b/src/ca/precomp.h @@ -23,7 +23,6 @@ #include #define MAXUINT USHRT_MAX -#include #include "wcautil.h" #include "wcawow64.h" diff --git a/src/ca/utilca.vcxproj b/src/ca/utilca.vcxproj index e9d74a66..9bff19b0 100644 --- a/src/ca/utilca.vcxproj +++ b/src/ca/utilca.vcxproj @@ -24,19 +24,11 @@ Unicode utilca.def WiX Toolset Util CustomAction - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0')) - - - - - - - activeds.lib;adsiid.lib;msi.lib;netapi32.lib;shlwapi.lib @@ -96,7 +88,6 @@ 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}. - -- cgit v1.2.3-55-g6feb