File tree Expand file tree Collapse file tree
ql/integration-tests/all-platforms/dotnet_build Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ column_kind: "utf16"
77overlay_support_version : 20250626
88extra_env_vars :
99 DOTNET_GENERATE_ASPNET_CERTIFICATE : " false"
10- # Reused MSBuild nodes may have been started outside the traced build.
11- MSBUILDDISABLENODEREUSE : " 1 "
10+ # The MSBuild server may have been started outside the traced build.
11+ DOTNET_CLI_USE_MSBUILD_SERVER : " false "
1212build_modes :
1313 - autobuild
1414 - manual
Original file line number Diff line number Diff line change 77 <Nullable >enable</Nullable >
88 </PropertyGroup >
99
10- <Target Name =" CheckNodeReuse " >
11- <Error Condition =" '$(MSBUILDDISABLENODEREUSE )' != '1 '"
12- Text =" Expected MSBuild node reuse to be disabled during CodeQL tracing." />
10+ <Target Name =" CheckMSBuildServer " >
11+ <Error Condition =" '$(DOTNET_CLI_USE_MSBUILD_SERVER )' != 'false '"
12+ Text =" Expected the .NET CLI MSBuild server to be disabled during CodeQL tracing." />
1313 </Target >
1414
1515</Project >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ def check_build_out(msg, s):
77 ), f"The C# tracer did not interpret the dotnet path-to-application command correctly."
88
99def test1 (codeql , csharp ):
10- codeql .database .create (command = "dotnet build -t:Build,CheckNodeReuse " )
10+ codeql .database .create (command = "dotnet build -t:Build,CheckMSBuildServer " )
1111
1212
1313# This test checks that we don't inject any flags when running the application using `dotnet`
You can’t perform that action at this time.
0 commit comments