From: Paul Durrant Date: Wed, 14 Dec 2016 15:36:36 +0000 (+0000) Subject: Fixes for VS2015/WDK10 build X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=efd61b95c1137f472797d2f298151243387d6b52;p=people%2Fpauldu%2Fxenbus.git Fixes for VS2015/WDK10 build The package build was not working correctly and caused the overall build to fail. At least part of the reason for this is that Microsoft, in their infinite wisdom, have removed the DIFx redist from WDK10. This patch makes use of a new environment variable 'DPINST_REDIST' to find the copy of dpinst.exe to package such that this can be pointed at an older WDK or alternative location where dpinst.exe can be found. Signed-off-by: Paul Durrant --- diff --git a/vs2015/package/package.vcxproj b/vs2015/package/package.vcxproj index 314041d..bb73de2 100644 --- a/vs2015/package/package.vcxproj +++ b/vs2015/package/package.vcxproj @@ -1,12 +1,13 @@ - + - WDM - WindowsApplicationForDrivers10.0 + WindowsKernelModeDriver10.0 Utility Package true + true + Desktop @@ -29,8 +30,7 @@ 133563 ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - ..\..\xenbus\$(DDKPlatform) + ..\..\xenbus\$(DDKPlatform)\ @@ -50,8 +50,8 @@ - - + + diff --git a/vs2015/package/package.vcxproj.user b/vs2015/package/package.vcxproj.user index 19bfe14..db41a92 100644 --- a/vs2015/package/package.vcxproj.user +++ b/vs2015/package/package.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xenbus.pfx diff --git a/vs2015/xen/xen.vcxproj b/vs2015/xen/xen.vcxproj index 68c957a..de215c0 100644 --- a/vs2015/xen/xen.vcxproj +++ b/vs2015/xen/xen.vcxproj @@ -1,5 +1,5 @@ - + WDM @@ -36,28 +36,16 @@ ../../src/xen/xen.def false - - true - true - $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) - true - __i386__;%(PreprocessorDefinitions);_X86_ - - x86 - __x86_64__;%(PreprocessorDefinitions);_AMD64_ - - amd64 - diff --git a/vs2015/xen/xen.vcxproj.user b/vs2015/xen/xen.vcxproj.user index 19bfe14..db41a92 100644 --- a/vs2015/xen/xen.vcxproj.user +++ b/vs2015/xen/xen.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xenbus.pfx diff --git a/vs2015/xenbus/xenbus.vcxproj b/vs2015/xenbus/xenbus.vcxproj index 113f7c1..7fbc7bd 100644 --- a/vs2015/xenbus/xenbus.vcxproj +++ b/vs2015/xenbus/xenbus.vcxproj @@ -1,5 +1,5 @@ - + WDM diff --git a/vs2015/xenbus/xenbus.vcxproj.user b/vs2015/xenbus/xenbus.vcxproj.user index 19bfe14..db41a92 100644 --- a/vs2015/xenbus/xenbus.vcxproj.user +++ b/vs2015/xenbus/xenbus.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xenbus.pfx diff --git a/vs2015/xenbus_coinst/xenbus_coinst.vcxproj b/vs2015/xenbus_coinst/xenbus_coinst.vcxproj index cc01a3b..c88b8c9 100644 --- a/vs2015/xenbus_coinst/xenbus_coinst.vcxproj +++ b/vs2015/xenbus_coinst/xenbus_coinst.vcxproj @@ -1,5 +1,5 @@ - + WDM @@ -35,28 +35,16 @@ $(SolutionDir)..\include;%(AdditionalIncludeDirectories) - - true - true - $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) - true - __i386__;%(PreprocessorDefinitions) - - x86 - __x86_64__;%(PreprocessorDefinitions) - - amd64 - diff --git a/vs2015/xenbus_coinst/xenbus_coinst.vcxproj.user b/vs2015/xenbus_coinst/xenbus_coinst.vcxproj.user index 19bfe14..db41a92 100644 --- a/vs2015/xenbus_coinst/xenbus_coinst.vcxproj.user +++ b/vs2015/xenbus_coinst/xenbus_coinst.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xenbus.pfx diff --git a/vs2015/xenbus_monitor/xenbus_monitor.vcxproj b/vs2015/xenbus_monitor/xenbus_monitor.vcxproj index 7676049..3da9061 100644 --- a/vs2015/xenbus_monitor/xenbus_monitor.vcxproj +++ b/vs2015/xenbus_monitor/xenbus_monitor.vcxproj @@ -1,5 +1,5 @@ - + MultiByte diff --git a/vs2015/xenbus_monitor/xenbus_monitor.vcxproj.user b/vs2015/xenbus_monitor/xenbus_monitor.vcxproj.user index 19bfe14..db41a92 100644 --- a/vs2015/xenbus_monitor/xenbus_monitor.vcxproj.user +++ b/vs2015/xenbus_monitor/xenbus_monitor.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xenbus.pfx diff --git a/vs2015/xenfilt/xenfilt.vcxproj b/vs2015/xenfilt/xenfilt.vcxproj index d9f28ed..fe6ba38 100644 --- a/vs2015/xenfilt/xenfilt.vcxproj +++ b/vs2015/xenfilt/xenfilt.vcxproj @@ -1,5 +1,5 @@ - + WDM @@ -35,28 +35,16 @@ $(ProjectDir)..\$(ConfigurationName)\$(Platform)\xen.lib;$(DDK_LIB_PATH)/libcntpr.lib;$(DDK_LIB_PATH)/procgrp.lib;%(AdditionalDependencies) false - - true - true - $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) - true - __i386__;%(PreprocessorDefinitions);_X86_ - - x86 - __x86_64__;%(PreprocessorDefinitions);_AMD64_ - - amd64 - diff --git a/vs2015/xenfilt/xenfilt.vcxproj.user b/vs2015/xenfilt/xenfilt.vcxproj.user index 19bfe14..db41a92 100644 --- a/vs2015/xenfilt/xenfilt.vcxproj.user +++ b/vs2015/xenfilt/xenfilt.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xenbus.pfx