From da748e7446689effbfbcacdbad07beb2d4e19449 Mon Sep 17 00:00:00 2001 From: Yogesh Prajapati Date: Thu, 21 May 2026 16:23:11 +0100 Subject: [PATCH 1/2] Add .NET 10 SDK to CodeQL analysis workflow Add 10.0.x to dotnet-version in codeql-analysis.yml to support building projects targeting net10.0. --- .github/workflows/codeql-analysis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8e3be2ba..2369c470 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -44,6 +44,7 @@ jobs: 6.0.x 8.0.x 9.0.x + 10.0.x # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL From e86672b586d3f384324904b538b2d4edecd152a8 Mon Sep 17 00:00:00 2001 From: Yogesh Prajapati Date: Fri, 29 May 2026 18:50:00 +0100 Subject: [PATCH 2/2] Fix signing key path resolution in build-signed.ps1 The script passed a relative path (src/RulesEngine/signKey.snk) to -p:AssemblyOriginatorKeyFile, but MSBuild resolves that relative to the project directory, causing it to look for the file at src/RulesEngine/src/RulesEngine/signKey.snk which doesn't exist. Convert to absolute path using [System.IO.Path]::GetFullPath() so MSBuild finds the file at its actual location. --- deployment/build-signed.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/build-signed.ps1 b/deployment/build-signed.ps1 index b6c57b43..3342c46c 100644 --- a/deployment/build-signed.ps1 +++ b/deployment/build-signed.ps1 @@ -7,7 +7,7 @@ param( # sign and build the project $directory = Split-Path $csprojFilePath; -$signKeyFile = Join-Path $directory "signKey.snk"; +$signKeyFile = [System.IO.Path]::GetFullPath((Join-Path $directory "signKey.snk")) $bytes = [Convert]::FromBase64String($signingKey) [IO.File]::WriteAllBytes($signKeyFile, $bytes)