From 53cdd29b7470c0fb5329c7f3e9e87ae68cef6eff Mon Sep 17 00:00:00 2001 From: "[JaviLendi]" Date: Sun, 10 May 2026 00:54:57 +0200 Subject: [PATCH] Fix CodeQL build target order --- cmd/build-codeql.ts | 2 +- vs2022/SumatraPDF.vcxproj | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/build-codeql.ts b/cmd/build-codeql.ts index 999483ce10d3..293bf57969bf 100644 --- a/cmd/build-codeql.ts +++ b/cmd/build-codeql.ts @@ -22,7 +22,7 @@ async function main() { const { msbuildPath } = detectVisualStudio(); const slnPath = join("vs2022", "SumatraPDF.sln"); - await runLogged(msbuildPath, [slnPath, `/t:SumatraPDF:Rebuild`, `/p:Configuration=Release;Platform=x64`, `/m`]); + await runLogged(msbuildPath, [slnPath, `/t:SumatraPDF-dll;SumatraPDF`, `/p:Configuration=Release;Platform=x64`, `/m`]); await revertBuildConfig(); diff --git a/vs2022/SumatraPDF.vcxproj b/vs2022/SumatraPDF.vcxproj index 696c433c017b..bdda705b66ac 100644 --- a/vs2022/SumatraPDF.vcxproj +++ b/vs2022/SumatraPDF.vcxproj @@ -1218,6 +1218,7 @@ +