From: Paul Durrant Date: Wed, 14 Dec 2016 16:19:07 +0000 (+0000) Subject: Fixes for VS2015/WDK10 build X-Git-Tag: 9.0.0-rc1~41 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6044fe798a63abfbafbfb7e30cab2b9e45e152a0;p=pvdrivers%2Fwin%2Fxeniface.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 b795f62..d9b6ac3 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)\ - ..\..\xeniface\$(DDKPlatform) + ..\..\xeniface\$(DDKPlatform) @@ -44,8 +44,8 @@ - - + + diff --git a/vs2015/package/package.vcxproj.user b/vs2015/package/package.vcxproj.user index 38b83e3..ec2b080 100644 --- a/vs2015/package/package.vcxproj.user +++ b/vs2015/package/package.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xeniface.pfx diff --git a/vs2015/xenagent/xenagent.vcxproj b/vs2015/xenagent/xenagent.vcxproj index c7fa387..5f87e6d 100644 --- a/vs2015/xenagent/xenagent.vcxproj +++ b/vs2015/xenagent/xenagent.vcxproj @@ -1,5 +1,5 @@ - + MultiByte diff --git a/vs2015/xenagent/xenagent.vcxproj.user b/vs2015/xenagent/xenagent.vcxproj.user index 50f3cbe..28b978d 100644 --- a/vs2015/xenagent/xenagent.vcxproj.user +++ b/vs2015/xenagent/xenagent.vcxproj.user @@ -1,4 +1,4 @@ - + - \ No newline at end of file + diff --git a/vs2015/xeniface/xeniface.vcxproj b/vs2015/xeniface/xeniface.vcxproj index 860630f..d1ed99a 100644 --- a/vs2015/xeniface/xeniface.vcxproj +++ b/vs2015/xeniface/xeniface.vcxproj @@ -1,5 +1,5 @@ - + WDM diff --git a/vs2015/xeniface/xeniface.vcxproj.user b/vs2015/xeniface/xeniface.vcxproj.user index 38b83e3..ec2b080 100644 --- a/vs2015/xeniface/xeniface.vcxproj.user +++ b/vs2015/xeniface/xeniface.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xeniface.pfx diff --git a/vs2015/xeniface_coinst/xeniface_coinst.vcxproj b/vs2015/xeniface_coinst/xeniface_coinst.vcxproj index 343d2eb..a05944c 100644 --- a/vs2015/xeniface_coinst/xeniface_coinst.vcxproj +++ b/vs2015/xeniface_coinst/xeniface_coinst.vcxproj @@ -1,5 +1,5 @@ - + WDM @@ -34,28 +34,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/xeniface_coinst/xeniface_coinst.vcxproj.user b/vs2015/xeniface_coinst/xeniface_coinst.vcxproj.user index 38b83e3..ec2b080 100644 --- a/vs2015/xeniface_coinst/xeniface_coinst.vcxproj.user +++ b/vs2015/xeniface_coinst/xeniface_coinst.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xeniface.pfx