From 4b7197c28052971c4e46d95b4408d74542f7345d Mon Sep 17 00:00:00 2001 From: Alan Jowett Date: Tue, 19 Nov 2024 10:26:55 -0800 Subject: [PATCH] Switch to nuget WDK (#166) * Switch to nuget WDK Signed-off-by: Alan Jowett * Update docs Signed-off-by: Alan Jowett * Fix build break from 32bit msbuild Signed-off-by: Alan Jowett * Don't add WDK to dotnet projects Signed-off-by: Alan Jowett * More cleanup Signed-off-by: Alan Jowett * Exclude .proj files from wdk Signed-off-by: Alan Jowett --------- Signed-off-by: Alan Jowett Co-authored-by: Alan Jowett --- .github/workflows/reusable-build.yml | 24 +++---------------- CONTRIBUTING.md | 2 -- Directory.Build.props | 5 ++-- .../sys/neteventebpfext.vcxproj | 9 ++++--- .../user/neteventebpfext_user.vcxproj | 1 - .../ntosebpfext/sys/ntosebpfext.vcxproj | 5 ++-- .../ntosebpfext/user/ntosebpfext_user.vcxproj | 1 - external/usersim | 2 +- scripts/setup_build/packages.config | 7 ++++++ scripts/setup_build/setup_build.vcxproj | 1 - .../netevent_sim/netevent_sim.vcxproj | 4 ++-- .../neteventebpfext_unit.vcxproj | 1 - .../ntosebpfext_unit/ntosebpfext_unit.vcxproj | 1 - ...event_ebpf_ext_export_program_info.vcxproj | 11 ++++----- .../netevent_monitor/netevent_monitor.vcxproj | 1 - .../ntos_ebpf_ext_export_program_info.vcxproj | 1 - tools/onebranch/onebranch.vcxproj | 3 +-- .../process_monitor_bpf.vcxproj | 3 +-- tools/utils/utils.vcxproj | 3 +-- wdk.props | 19 +++++++++++++++ 20 files changed, 49 insertions(+), 55 deletions(-) create mode 100644 wdk.props diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 39d6320d..50267acc 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -108,33 +108,15 @@ jobs: - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce - - - name: Setup choco cache folder - # Set the choco cache to a local folder so that it can be cached. - if: steps.skip_check.outputs.should_skip != 'true' - id: choco-cache - run: | - mkdir ${{github.workspace}}\choco_cache - choco config set --name cacheLocation --value ${{github.workspace}}\choco_cache - - - name: Cache choco packages - # Add cache entry for any choco packages that are installed. - # The cache key is based on the hash of this file so if any choco packages are added or removed, the cache will be invalidated. - if: steps.skip_check.outputs.should_skip != 'true' - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a - env: - cache-name: cache-choco-packages with: - path: ${{github.workspace}}\choco_cache - key: ${{ hashFiles('.github/workflows/reusable-build.yml') }} + msbuild-architecture: x64 - - name: Install tools + - name: Check clang version if: steps.skip_check.outputs.should_skip != 'true' working-directory: ${{env.GITHUB_WORKSPACE}} run: | - choco install -y llvm --version 11.0.1 --allow-downgrade - echo "C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append where clang.exe + clang -v - name: Install .NET 8 SDK if: steps.skip_check.outputs.should_skip != 'true' diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e51779d7..2505c35f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -64,8 +64,6 @@ To build locally, ensure your environment is set up: 1. Install Visual Studio 2022 with at least the "Desktop development with C++" and ".NET desktop development" workloads 1. Install the .NET 8 SDK from https://dotnet.microsoft.com/en-us/download/dotnet/8.0 -1. Install the Windows SDK 10.0.22621.0 with `winget install Microsoft.WindowsSDK.10.0.22621` -1. Install the Windows DDK 10.0.22621.0 with `winget install Microsoft.WindowsWDK.10.0.22621` Then do one-time repo setup: diff --git a/Directory.Build.props b/Directory.Build.props index b4ada6c4..8f430b9f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,6 +4,7 @@ SPDX-License-Identifier: MIT --> + true true @@ -17,7 +18,7 @@ true - + "$(VsInstallRoot)\VC\Tools\Llvm\bin\clang.exe" @@ -32,7 +33,7 @@ true Guard /ZH:SHA_256 /we4062 %(AdditionalOptions) - %(AdditionalIncludeDirectories);$(WindowsSdkDir)Include\10.0.22621.0\km;$(SolutionDir)external\ebpf-verifier\build\packages\boost\lib\native\include + %(AdditionalIncludeDirectories);$(WdkContentRoot)\Include\$(WindowsTargetPlatformVersion)\km;;$(SolutionDir)external\ebpf-verifier\build\packages\boost\lib\native\include true diff --git a/ebpf_extensions/neteventebpfext/sys/neteventebpfext.vcxproj b/ebpf_extensions/neteventebpfext/sys/neteventebpfext.vcxproj index e0d31fab..dccff9c3 100644 --- a/ebpf_extensions/neteventebpfext/sys/neteventebpfext.vcxproj +++ b/ebpf_extensions/neteventebpfext/sys/neteventebpfext.vcxproj @@ -48,7 +48,6 @@ Win32 EbpfDriver neteventebpfext - $(LatestTargetPlatformVersion) @@ -131,7 +130,7 @@ %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO;NDEBUG - %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(SDK_LIB_PATH)\uuid.lib;$(DDK_LIB_PATH)\netio.lib + %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(DDK_LIB_PATH)\netio.lib $(OutDir);$(SolutionDir)$(Platform)\$(ConfigurationName)\;%(AdditionalLibraryDirectories) /INTEGRITYCHECK %(AdditionalOptions) @@ -154,7 +153,7 @@ %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO - %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(SDK_LIB_PATH)\uuid.lib;$(DDK_LIB_PATH)\netio.lib + %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(DDK_LIB_PATH)\netio.lib $(OutDir);$(SolutionDir)$(Platform)\$(ConfigurationName)\;%(AdditionalLibraryDirectories) /INTEGRITYCHECK %(AdditionalOptions) @@ -176,7 +175,7 @@ %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO - %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(SDK_LIB_PATH)\uuid.lib;$(DDK_LIB_PATH)\netio.lib + %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(DDK_LIB_PATH)\netio.lib $(OutDir);$(SolutionDir)$(Platform)\$(ConfigurationName)\;%(AdditionalLibraryDirectories) /INTEGRITYCHECK %(AdditionalOptions) @@ -198,7 +197,7 @@ %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO - %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(SDK_LIB_PATH)\uuid.lib;$(DDK_LIB_PATH)\netio.lib + %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(DDK_LIB_PATH)\netio.lib $(OutDir);$(SolutionDir)$(Platform)\$(ConfigurationName)\;%(AdditionalLibraryDirectories) /INTEGRITYCHECK %(AdditionalOptions) diff --git a/ebpf_extensions/neteventebpfext/user/neteventebpfext_user.vcxproj b/ebpf_extensions/neteventebpfext/user/neteventebpfext_user.vcxproj index 8d12b549..f243b68f 100644 --- a/ebpf_extensions/neteventebpfext/user/neteventebpfext_user.vcxproj +++ b/ebpf_extensions/neteventebpfext/user/neteventebpfext_user.vcxproj @@ -24,7 +24,6 @@ Win32Proj {AAAB234B-F0E9-4326-91E8-87B98367ACC1} neteventebpfextunit - 10.0 neteventebpfext_user diff --git a/ebpf_extensions/ntosebpfext/sys/ntosebpfext.vcxproj b/ebpf_extensions/ntosebpfext/sys/ntosebpfext.vcxproj index 919829b8..d4f6c8b4 100644 --- a/ebpf_extensions/ntosebpfext/sys/ntosebpfext.vcxproj +++ b/ebpf_extensions/ntosebpfext/sys/ntosebpfext.vcxproj @@ -32,7 +32,6 @@ Win32 EbpfDriver ntosebpfext - $(LatestTargetPlatformVersion) @@ -95,7 +94,7 @@ %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO;NDEBUG - %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(SDK_LIB_PATH)\uuid.lib;$(DDK_LIB_PATH)\netio.lib + %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(DDK_LIB_PATH)\netio.lib $(OutDir);$(SolutionDir)$(Platform)\$(ConfigurationName)\;%(AdditionalLibraryDirectories) /INTEGRITYCHECK %(AdditionalOptions) @@ -117,7 +116,7 @@ %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO - %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(SDK_LIB_PATH)\uuid.lib;$(DDK_LIB_PATH)\netio.lib + %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\wdmsec.lib;$(DDK_LIB_PATH)\netio.lib $(OutDir);$(SolutionDir)$(Platform)\$(ConfigurationName)\;%(AdditionalLibraryDirectories) /INTEGRITYCHECK %(AdditionalOptions) diff --git a/ebpf_extensions/ntosebpfext/user/ntosebpfext_user.vcxproj b/ebpf_extensions/ntosebpfext/user/ntosebpfext_user.vcxproj index 5bd14be0..88ed3303 100644 --- a/ebpf_extensions/ntosebpfext/user/ntosebpfext_user.vcxproj +++ b/ebpf_extensions/ntosebpfext/user/ntosebpfext_user.vcxproj @@ -20,7 +20,6 @@ Win32Proj {630bb78f-6211-41d8-8e3a-096e22e169ef} ntosebpfextunit - 10.0 ntosebpfext_user diff --git a/external/usersim b/external/usersim index d91240e3..30fc3715 160000 --- a/external/usersim +++ b/external/usersim @@ -1 +1 @@ -Subproject commit d91240e391a5a966fd7b4090b4e1b64a4deb856d +Subproject commit 30fc37150fcdff66cc9e9ca137f6843a097052c4 diff --git a/scripts/setup_build/packages.config b/scripts/setup_build/packages.config index 938103d6..790ecd36 100644 --- a/scripts/setup_build/packages.config +++ b/scripts/setup_build/packages.config @@ -1,4 +1,11 @@  + + + + + + + \ No newline at end of file diff --git a/scripts/setup_build/setup_build.vcxproj b/scripts/setup_build/setup_build.vcxproj index 9502b427..64ff75e4 100644 --- a/scripts/setup_build/setup_build.vcxproj +++ b/scripts/setup_build/setup_build.vcxproj @@ -45,7 +45,6 @@ Win32Proj {231ee32b-eba4-4fe5-a55b-db18f539d403} setupbuild - 10.0 diff --git a/tests/neteventebpfext/netevent_sim/netevent_sim.vcxproj b/tests/neteventebpfext/netevent_sim/netevent_sim.vcxproj index 15b82762..be9ebc2d 100644 --- a/tests/neteventebpfext/netevent_sim/netevent_sim.vcxproj +++ b/tests/neteventebpfext/netevent_sim/netevent_sim.vcxproj @@ -118,7 +118,7 @@ sha256 - %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(SDK_LIB_PATH)\uuid.lib;$(DDK_LIB_PATH)\netio.lib + %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\netio.lib @@ -132,7 +132,7 @@ sha256 - %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(SDK_LIB_PATH)\uuid.lib;$(DDK_LIB_PATH)\netio.lib + %(AdditionalDependencies);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\netio.lib diff --git a/tests/neteventebpfext/neteventebpfext_unit/neteventebpfext_unit.vcxproj b/tests/neteventebpfext/neteventebpfext_unit/neteventebpfext_unit.vcxproj index b0afde26..056a1a6b 100644 --- a/tests/neteventebpfext/neteventebpfext_unit/neteventebpfext_unit.vcxproj +++ b/tests/neteventebpfext/neteventebpfext_unit/neteventebpfext_unit.vcxproj @@ -24,7 +24,6 @@ Win32Proj {32DA760D-1A43-4940-BECE-59AE0B817ED9} neteventebpfextunit - 10.0 neteventebpfext_unit diff --git a/tests/ntosebpfext/ntosebpfext_unit/ntosebpfext_unit.vcxproj b/tests/ntosebpfext/ntosebpfext_unit/ntosebpfext_unit.vcxproj index 658c7b3e..e23e1484 100644 --- a/tests/ntosebpfext/ntosebpfext_unit/ntosebpfext_unit.vcxproj +++ b/tests/ntosebpfext/ntosebpfext_unit/ntosebpfext_unit.vcxproj @@ -20,7 +20,6 @@ Win32Proj {e619b985-44b3-4292-a585-5cd0c4315ed3} ntosebpfextunit - 10.0 ntosebpfext_unit diff --git a/tools/netevent_ebpf_ext_export_program_info/netevent_ebpf_ext_export_program_info.vcxproj b/tools/netevent_ebpf_ext_export_program_info/netevent_ebpf_ext_export_program_info.vcxproj index 100df373..c8bed91b 100644 --- a/tools/netevent_ebpf_ext_export_program_info/netevent_ebpf_ext_export_program_info.vcxproj +++ b/tools/netevent_ebpf_ext_export_program_info/netevent_ebpf_ext_export_program_info.vcxproj @@ -32,7 +32,6 @@ Win32Proj {61896FC2-D314-468E-887B-7B1EBC7F0FEB} encodeprograminfo - 10.0 netevent_ebpf_ext_export_program_info @@ -115,7 +114,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - %(AdditionalIncludeDirectories);$(SolutionDir)include;$(SolutionDir)libs\include\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)include\user;$(SolutionDir)neteventebpfext;$(SolutionDir)neteventebpfext\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser + %(AdditionalIncludeDirectories);$(SolutionDir)include;$(SolutionDir)libs\include\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)include\user;$(SolutionDir)neteventebpfext;$(SolutionDir)neteventebpfext\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(WdkContentRoot)\Include\$(WindowsTargetPlatformVersion)\km Console @@ -135,7 +134,7 @@ $(OutDir)netevent_ebpf_ext_export_program_info.exe _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - %(AdditionalIncludeDirectories);$(SolutionDir)include;$(SolutionDir)libs\include\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)include\user;$(SolutionDir)neteventebpfext;$(SolutionDir)neteventebpfext\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser + %(AdditionalIncludeDirectories);$(SolutionDir)include;$(SolutionDir)libs\include\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)include\user;$(SolutionDir)neteventebpfext;$(SolutionDir)neteventebpfext\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(WdkContentRoot)\Include\$(WindowsTargetPlatformVersion)\km Console @@ -155,7 +154,7 @@ $(OutDir)netevent_ebpf_ext_export_program_info.exe _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - %(AdditionalIncludeDirectories);$(SolutionDir)include;$(SolutionDir)libs\include\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)include\user;$(SolutionDir)neteventebpfext;$(SolutionDir)neteventebpfext\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser + %(AdditionalIncludeDirectories);$(SolutionDir)include;$(SolutionDir)libs\include\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)include\user;$(SolutionDir)neteventebpfext;$(SolutionDir)neteventebpfext\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(WdkContentRoot)\Include\$(WindowsTargetPlatformVersion)\km Console @@ -175,7 +174,7 @@ $(OutDir)netevent_ebpf_ext_export_program_info.exe NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - %(AdditionalIncludeDirectories);$(SolutionDir)include;$(SolutionDir)libs\include\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)include\user;$(SolutionDir)neteventebpfext;$(SolutionDir)neteventebpfext\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser + %(AdditionalIncludeDirectories);$(SolutionDir)include;$(SolutionDir)libs\include\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)include\user;$(SolutionDir)neteventebpfext;$(SolutionDir)neteventebpfext\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(WdkContentRoot)\Include\$(WindowsTargetPlatformVersion)\km Console @@ -197,7 +196,7 @@ $(OutDir)netevent_ebpf_ext_export_program_info.exe NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - %(AdditionalIncludeDirectories);$(SolutionDir)include;$(SolutionDir)libs\include\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)include\user;$(SolutionDir)neteventebpfext;$(SolutionDir)neteventebpfext\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser + %(AdditionalIncludeDirectories);$(SolutionDir)include;$(SolutionDir)libs\include\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)include\user;$(SolutionDir)neteventebpfext;$(SolutionDir)neteventebpfext\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(WdkContentRoot)\Include\$(WindowsTargetPlatformVersion)\km Console diff --git a/tools/netevent_monitor/netevent_monitor.vcxproj b/tools/netevent_monitor/netevent_monitor.vcxproj index 3a501e2a..96bb6882 100644 --- a/tools/netevent_monitor/netevent_monitor.vcxproj +++ b/tools/netevent_monitor/netevent_monitor.vcxproj @@ -28,7 +28,6 @@ Win32Proj {1132BFD8-EECA-4372-B08E-D349D86FE616} netevent_monitor - 10.0 -g -target bpf -O2 -Werror diff --git a/tools/ntos_ebpf_ext_export_program_info/ntos_ebpf_ext_export_program_info.vcxproj b/tools/ntos_ebpf_ext_export_program_info/ntos_ebpf_ext_export_program_info.vcxproj index 82a52656..9c2d4e91 100644 --- a/tools/ntos_ebpf_ext_export_program_info/ntos_ebpf_ext_export_program_info.vcxproj +++ b/tools/ntos_ebpf_ext_export_program_info/ntos_ebpf_ext_export_program_info.vcxproj @@ -20,7 +20,6 @@ Win32Proj {fa9bb88d-8259-40c1-9422-bdedf9e9ce68} encodeprograminfo - 10.0 ntos_ebpf_ext_export_program_info diff --git a/tools/onebranch/onebranch.vcxproj b/tools/onebranch/onebranch.vcxproj index 0e9d8c9c..796c8134 100644 --- a/tools/onebranch/onebranch.vcxproj +++ b/tools/onebranch/onebranch.vcxproj @@ -27,8 +27,7 @@ Win32Proj {988a1731-f674-472f-8063-84d6dea8988d} onebranch - 10.0 - + Application diff --git a/tools/process_monitor_bpf/process_monitor_bpf.vcxproj b/tools/process_monitor_bpf/process_monitor_bpf.vcxproj index b38f7c4c..9d8ce628 100644 --- a/tools/process_monitor_bpf/process_monitor_bpf.vcxproj +++ b/tools/process_monitor_bpf/process_monitor_bpf.vcxproj @@ -20,8 +20,7 @@ Win32Proj {3DBF8A96-3883-448A-8BD3-B8C913A27F09} process_monitor - 10.0 - -g -target bpf -O2 -Werror + -g -target bpf -O2 -Werror diff --git a/tools/utils/utils.vcxproj b/tools/utils/utils.vcxproj index 28c591af..25e97e8d 100644 --- a/tools/utils/utils.vcxproj +++ b/tools/utils/utils.vcxproj @@ -19,8 +19,7 @@ Win32Proj {52440d8b-c623-48c4-a2a3-527245139e19} utils - 10.0 - + StaticLibrary diff --git a/wdk.props b/wdk.props new file mode 100644 index 00000000..93117be8 --- /dev/null +++ b/wdk.props @@ -0,0 +1,19 @@ + + + + + $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) + 10.0.26100.0 + 10.0.26100.2161 + + + + + + + + + \ No newline at end of file