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 $?