From 11c154e6dbbcd40af431927eecad92f60a05c67d Mon Sep 17 00:00:00 2001 From: Tamas Vajk Date: Tue, 2 Apr 2024 14:49:06 +0200 Subject: [PATCH] C#: enable buildless mode --- csharp/tools/autobuild.cmd | 2 ++ csharp/tools/autobuild.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/csharp/tools/autobuild.cmd b/csharp/tools/autobuild.cmd index 7d24060ff46b..e761c2317acb 100644 --- a/csharp/tools/autobuild.cmd +++ b/csharp/tools/autobuild.cmd @@ -1,4 +1,6 @@ @echo off +set CODEQL_EXTRACTOR_CSHARP_OPTION_BUILDLESS=true + type NUL && "%CODEQL_EXTRACTOR_CSHARP_ROOT%/tools/%CODEQL_PLATFORM%/Semmle.Autobuild.CSharp.exe" exit /b %ERRORLEVEL% diff --git a/csharp/tools/autobuild.sh b/csharp/tools/autobuild.sh index e8e007a10d74..17bd83c515de 100755 --- a/csharp/tools/autobuild.sh +++ b/csharp/tools/autobuild.sh @@ -7,4 +7,6 @@ if [ "$CODEQL_PLATFORM" != "linux64" ] && [ "$CODEQL_PLATFORM" != "osx64" ] ; th exit 1 fi +export CODEQL_EXTRACTOR_CSHARP_OPTION_BUILDLESS=true + "$CODEQL_EXTRACTOR_CSHARP_ROOT/tools/$CODEQL_PLATFORM/Semmle.Autobuild.CSharp" || exit $?