From 75dc37c363abf29103afac7cb20b29540230e629 Mon Sep 17 00:00:00 2001 From: Simon Jackson Date: Thu, 2 Apr 2026 12:40:58 +0100 Subject: [PATCH] fix(ci): build RDPWrapOffsetFinder via .sln not .vcxproj --- .github/workflows/build-and-release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 4962e2b..3c00149 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -119,8 +119,12 @@ jobs: /p:PlatformToolset=v143 ` /v:minimal - # Build RDPWrapOffsetFinder - msbuild src-csharp/RDPOffsetFinder/RDPWrapOffsetFinder/RDPWrapOffsetFinder.vcxproj ` + # Build via .sln so $(SolutionDir) resolves to the submodule root + # where zydis/ lives - vcxproj AdditionalIncludeDirectories and + # AdditionalDependencies both use $(SolutionDir)\zydis\... and + # fail with C1083 when the vcxproj is targeted directly. + msbuild src-csharp/RDPOffsetFinder/RDPWrapOffsetFinder.sln ` + /t:RDPWrapOffsetFinder ` /p:Configuration=Release ` /p:Platform="$($cfg.Platform)" ` /p:PlatformToolset=v143 `