From 1ad137b6e5a762d3dc0ea0e0bd95f4e46e2dd329 Mon Sep 17 00:00:00 2001 From: JakobL-MSFT <110699333+JakobL-MSFT@users.noreply.github.com> Date: Tue, 6 Feb 2024 18:01:44 -0800 Subject: Initial Support for WDK NuGet Experiment. Take 3 (#1102) * Add parent directory file for NuGet import support * fix directory.build.props file * Checked in a comment with baseline. Also small fix to make sure we use GE InfVerif flags and Exclusions.csv * Remove references to path which refer older vars * Remove stale variable path from mincore.lib * remove references to stale variale from vhidmimium * remove stale reference from ddproxy * remove stale reference in inspect.vcxproj * Remove stale path reference in msnmntr.vcxproj * Remove stale path reference to stmedit.vcxproj * Remove stale path from echosrv.vcxproj * remove stale path mscorelib SingleComponentSingleStateUm.vcxproj * remove stale path * Move GitHub check up front * Replace correct value for the wpprecorderum * Removed the stale references for the um libs * correct the reference path for libs simplemedia * Correct the reference path for vccomsup * Correct the reference path for sdk lib path * added reference to the kit shared inc path * added reference to the kit shared inc path * Build-SampleSet: Let determination of NuGet packages be based on a folder .\packages rather than the .\packages.config file * added reference to the kit shared inc path * Updated PACKAGERESTORE_README.md with results from Prashant's recent fixes. Moves us 37 failures to 19 failures. * Rewrite how to get NuGet packages via EEAP or MSFTNuGet * Minor edits to Building-Locally.md * added reference to the kit shared inc path * Move forward to ge_release 26052. This fixes samples .\prm * added reference to the kit shared inc path * Move forward to ge_release 26052. This fixes samples .\prm. Update to .\Building-Locally.md * added reference to the kit shared inc path * added reference to the kit shared inc path * added reference to the kit shared inc path * added reference to the kit shared inc path * added reference to the kit shared inc path * added reference to the kit shared inc path * Update NuGet build instructions and PACKAGERESTORE_README.md * Reset Building-Locally.md and remote PACKAGERESTORE_README.md * Add reference to wdk um include path * Add reference to wdk um include path * Add reference to wdk um include path * Provided full path to wmimofck.exe to correctly resolve * Fix the path resolution for wmimofexe * Correct the wmimfck path resolution * Add NuGet arm64 support --------- Co-authored-by: Prashant Chahar Co-authored-by: Jakob Lichtenberg --- Directory.Build.props | 9 ++++----- packages.config | 2 ++ prm/PrmFunc/prmfuncsample.vcxproj | 3 ++- storage/class/classpnp/src/classpnp.vcxproj | 2 +- storage/msdsm/src/SampleDSM.vcxproj | 4 ++-- usb/UcmCxUcsi/UcmCxUcsi.vcxproj | 2 +- .../UcmUcsiAcpiSample/UcmUcsiAcpiSample.vcxproj | 4 ++++ video/KMDOD/Sample/SampleDisplay.vcxproj | 8 ++++---- wmi/wmiacpi/acpimof.vcxproj | 2 +- wmi/wmisamp/WmiSamp.vcxproj | 1 + 10 files changed, 22 insertions(+), 15 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 19d85cd4..2aab8266 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,8 +1,7 @@ - - + + + + - diff --git a/packages.config b/packages.config index 55fd7b63..0976b9f0 100644 --- a/packages.config +++ b/packages.config @@ -2,5 +2,7 @@ + + diff --git a/prm/PrmFunc/prmfuncsample.vcxproj b/prm/PrmFunc/prmfuncsample.vcxproj index 3cc3181d..55465018 100644 --- a/prm/PrmFunc/prmfuncsample.vcxproj +++ b/prm/PrmFunc/prmfuncsample.vcxproj @@ -61,6 +61,7 @@ Level4 + %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(KIT_SHARED_INC_PATH_WDK) @@ -72,7 +73,7 @@ Level4 - %(AdditionalIncludeDirectories);$(DDK_INC_PATH) + %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(KIT_SHARED_INC_PATH_WDK) diff --git a/storage/class/classpnp/src/classpnp.vcxproj b/storage/class/classpnp/src/classpnp.vcxproj index 4b092509..3b4316b1 100644 --- a/storage/class/classpnp/src/classpnp.vcxproj +++ b/storage/class/classpnp/src/classpnp.vcxproj @@ -314,7 +314,7 @@ - + diff --git a/storage/msdsm/src/SampleDSM.vcxproj b/storage/msdsm/src/SampleDSM.vcxproj index 5387d218..fe3104b8 100644 --- a/storage/msdsm/src/SampleDSM.vcxproj +++ b/storage/msdsm/src/SampleDSM.vcxproj @@ -285,7 +285,7 @@ - + @@ -294,7 +294,7 @@ - + diff --git a/usb/UcmCxUcsi/UcmCxUcsi.vcxproj b/usb/UcmCxUcsi/UcmCxUcsi.vcxproj index 66355942..35b53adb 100644 --- a/usb/UcmCxUcsi/UcmCxUcsi.vcxproj +++ b/usb/UcmCxUcsi/UcmCxUcsi.vcxproj @@ -90,7 +90,7 @@ pch.h - %(AdditionalIncludeDirectories);. + %(AdditionalIncludeDirectories);.;$(KIT_SHARED_INC_PATH_WDK) true true trace.h diff --git a/usb/UcmUcsiAcpiSample/UcmUcsiAcpiSample/UcmUcsiAcpiSample.vcxproj b/usb/UcmUcsiAcpiSample/UcmUcsiAcpiSample/UcmUcsiAcpiSample.vcxproj index 136932e7..610fcc44 100644 --- a/usb/UcmUcsiAcpiSample/UcmUcsiAcpiSample/UcmUcsiAcpiSample.vcxproj +++ b/usb/UcmUcsiAcpiSample/UcmUcsiAcpiSample/UcmUcsiAcpiSample.vcxproj @@ -86,6 +86,7 @@ pch.h 4100;4189;5208;%(DisableSpecificWarnings) false + %(AdditionalIncludeDirectories);$(KIT_SHARED_INC_PATH_WDK) $(DDK_LIB_PATH)\UcmUcsi\1.0\UcmUcsiCxStub.lib;%(AdditionalDependencies) @@ -99,6 +100,7 @@ true 4100;4189;5208;%(DisableSpecificWarnings) false + %(AdditionalIncludeDirectories);$(KIT_SHARED_INC_PATH_WDK) $(DDK_LIB_PATH)\UcmUcsi\1.0\UcmUcsiCxStub.lib;%(AdditionalDependencies) @@ -111,6 +113,7 @@ true 4100;4189;5208;%(DisableSpecificWarnings) + %(AdditionalIncludeDirectories);$(KIT_SHARED_INC_PATH_WDK) $(DDK_LIB_PATH)\UcmUcsi\1.0\UcmUcsiCxStub.lib;%(AdditionalDependencies) @@ -123,6 +126,7 @@ true 4100;4189;5208;%(DisableSpecificWarnings) + %(AdditionalIncludeDirectories);$(KIT_SHARED_INC_PATH_WDK) $(DDK_LIB_PATH)\UcmUcsi\1.0\UcmUcsiCxStub.lib;%(AdditionalDependencies) diff --git a/video/KMDOD/Sample/SampleDisplay.vcxproj b/video/KMDOD/Sample/SampleDisplay.vcxproj index 30a147c5..6dfa431c 100644 --- a/video/KMDOD/Sample/SampleDisplay.vcxproj +++ b/video/KMDOD/Sample/SampleDisplay.vcxproj @@ -83,7 +83,7 @@ %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) - %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) + %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);$(KIT_SHARED_INC_PATH_WDK) %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) @@ -97,7 +97,7 @@ %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) - %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) + %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);$(KIT_SHARED_INC_PATH_WDK) %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) @@ -111,7 +111,7 @@ %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) - %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) + %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);$(KIT_SHARED_INC_PATH_WDK) %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) @@ -125,7 +125,7 @@ %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) - %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) + %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);$(KIT_SHARED_INC_PATH_WDK) %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH) diff --git a/wmi/wmiacpi/acpimof.vcxproj b/wmi/wmiacpi/acpimof.vcxproj index 15803d3c..2d4225e2 100644 --- a/wmi/wmiacpi/acpimof.vcxproj +++ b/wmi/wmiacpi/acpimof.vcxproj @@ -181,7 +181,7 @@ - + diff --git a/wmi/wmisamp/WmiSamp.vcxproj b/wmi/wmisamp/WmiSamp.vcxproj index a0ae2b2a..d4b3ff34 100644 --- a/wmi/wmisamp/WmiSamp.vcxproj +++ b/wmi/wmisamp/WmiSamp.vcxproj @@ -87,6 +87,7 @@ .\$(IntDir)\wmisamp.x .\$(IntDir)\htm true + $(WmimofckToolPath) -- cgit v1.3.1