From: Paul Durrant Date: Wed, 14 Dec 2016 15:58:56 +0000 (+0000) Subject: Fixes for VS2015/WDK10 build X-Git-Tag: 9.0.0-rc1~21 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=245a7d3e2d06b0e61a951d51ba09434e9fd109e4;p=pvdrivers%2Fwin%2Fxennet.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 9357e87..907764f 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 @@ -28,8 +29,7 @@ True 133563 ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - ..\..\xennet\$(DDKPlatform) + ..\..\xennet\$(DDKPlatform) @@ -40,8 +40,8 @@ - - + + diff --git a/vs2015/package/package.vcxproj.user b/vs2015/package/package.vcxproj.user index a5433e9..8b034c4 100644 --- a/vs2015/package/package.vcxproj.user +++ b/vs2015/package/package.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xennet.pfx diff --git a/vs2015/xennet/xennet.vcxproj b/vs2015/xennet/xennet.vcxproj index 7dfddb2..d3b6e9a 100644 --- a/vs2015/xennet/xennet.vcxproj +++ b/vs2015/xennet/xennet.vcxproj @@ -1,5 +1,5 @@ - + Driver diff --git a/vs2015/xennet/xennet.vcxproj.user b/vs2015/xennet/xennet.vcxproj.user index 770fdca..8b034c4 100644 --- a/vs2015/xennet/xennet.vcxproj.user +++ b/vs2015/xennet/xennet.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xennet.pfx diff --git a/vs2015/xennet_coinst/xennet_coinst.vcxproj b/vs2015/xennet_coinst/xennet_coinst.vcxproj index a3097a6..3feda2d 100644 --- a/vs2015/xennet_coinst/xennet_coinst.vcxproj +++ b/vs2015/xennet_coinst/xennet_coinst.vcxproj @@ -1,5 +1,5 @@ - + WDM diff --git a/vs2015/xennet_coinst/xennet_coinst.vcxproj.user b/vs2015/xennet_coinst/xennet_coinst.vcxproj.user index a5433e9..8b034c4 100644 --- a/vs2015/xennet_coinst/xennet_coinst.vcxproj.user +++ b/vs2015/xennet_coinst/xennet_coinst.vcxproj.user @@ -1,5 +1,5 @@ - + TestSign ..\..\src\xennet.pfx