Skip to content

C#: Update integration tests to use SDK 10.0.201.#21662

Merged
michaelnebel merged 1 commit intogithub:rc/3.21from
michaelnebel:csharp/rc3.21/updateintegrationtests
Apr 7, 2026
Merged

C#: Update integration tests to use SDK 10.0.201.#21662
michaelnebel merged 1 commit intogithub:rc/3.21from
michaelnebel:csharp/rc3.21/updateintegrationtests

Conversation

@michaelnebel
Copy link
Copy Markdown
Contributor

@michaelnebel michaelnebel commented Apr 7, 2026

Patching changes to integration tests (needed due to the .NET update on the runners).

@github-actions github-actions bot added the C# label Apr 7, 2026
@michaelnebel michaelnebel marked this pull request as ready for review April 7, 2026 11:53
@michaelnebel michaelnebel requested a review from a team as a code owner April 7, 2026 11:53
@michaelnebel michaelnebel requested review from Copilot and hvitved April 7, 2026 11:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the C# integration test fixtures to run against .NET SDK 10.0.201, aligning expected outputs with changes introduced by the newer SDK/runtime packs and Razor source generator output paths.

Changes:

  • Bump many integration-test global.json files from 10.0.100 (and one 6.0.418) to 10.0.201.
  • Refresh integration-test expected artifacts to match updated reference pack versions (notably 10.0.5) and updated Razor-generated file paths.
  • Update compiler-arguments expectations for the newer SDK (adds warning 8002 to /nowarn).
Show a summary per file
File Description
csharp/ql/integration-tests/windows/standalone_dependencies/global.json Pin Windows standalone-dependencies integration test to SDK 10.0.201.
csharp/ql/integration-tests/posix/warn_as_error/global.json Pin warn-as-error integration test to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies/global.json Pin posix standalone-dependencies integration test to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies/Assemblies.expected Update expected assemblies list to match ref pack version/path changes.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget/global.json Pin standalone-dependencies (nuget) test to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget_versions/global.json Pin standalone-dependencies (nuget versions) test to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget_no_sources/proj/global.json Pin nuget-no-sources fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget_config_fallback/global.json Pin nuget-config-fallback fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget_config_error/global.json Pin nuget-config-error fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget_config_error_timeout/global.json Pin nuget-config-error-timeout fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget with_space/global.json Pin “with_space” fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/global.json Pin no-framework fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_multi_target/global.json Pin multi-target fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_multi_target/Assemblies.expected Update expected assemblies list for multi-target scenario to new ref pack paths.
csharp/ql/integration-tests/posix/standalone_dependencies_multi_project/global.json Pin multi-project fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/inherit-env-vars/global.json Pin inherit-env-vars fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/dotnet_test/global.json Pin dotnet_test fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/dotnet_test_mstest/global.json Pin dotnet_test_mstest fixture to SDK 10.0.201.
csharp/ql/integration-tests/linux/standalone_dependencies_non_utf8_filename/global.json Pin non-UTF8 filename fixture to SDK 10.0.201.
csharp/ql/integration-tests/linux/diag_nuget_config_casing/global.json Pin nuget-config casing diagnostics fixture to SDK 10.0.201.
csharp/ql/integration-tests/linux/compiler_args/global.json Pin compiler-args fixture to SDK 10.0.201.
csharp/ql/integration-tests/linux/compiler_args/CompilerArgs.expected Update expected compiler arguments for new SDK (adds /nowarn entry and updates reference/analyzer paths).
csharp/ql/integration-tests/all-platforms/standalone/global.json Pin all-platforms standalone fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_winforms/global.json Pin winforms fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_winforms/Assemblies.expected Update expected winforms assemblies list to new windowsdesktop ref pack paths.
csharp/ql/integration-tests/all-platforms/standalone_slnx/global.json Pin slnx fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_resx/global.json Pin resx fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_failed/global.json Pin standalone_failed fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_dependency_dir/proj/global.json Pin dependency-dir fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_dependencies_net48/global.json Pin net48 dependencies fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_buildless_option/global.json Pin buildless-option fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/source_generator/global.json Pin source_generator fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_run/global.json Pin dotnet_run fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_publish/global.json Pin dotnet_publish fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_pack/global.json Pin dotnet_pack fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_no_args_inject/global.json Pin dotnet_no_args_inject fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_build/global.json Pin dotnet_build fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_10/global.json Pin dotnet_10 fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/diag_recursive_generics/global.json Pin recursive-generics diagnostics fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/global.json Pin missing-xamarin diagnostics fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/diag_missing_project_files/global.json Pin missing-project-files diagnostics fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/global.json Pin dotnet-incompatible diagnostics fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/cshtml/global.json Pin cshtml fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/cshtml/Files.expected Update expected Razor-generated file path layout (underscores → directory separators).
csharp/ql/integration-tests/all-platforms/cshtml_standalone/global.json Pin cshtml_standalone fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/cshtml_standalone/Files.expected Update expected Razor-generated file path layout for standalone extraction.
csharp/ql/integration-tests/all-platforms/cshtml_standalone_net6/global.json Update SDK pin for the net6-targeting cshtml standalone fixture to 10.0.201.
csharp/ql/integration-tests/all-platforms/cshtml_standalone_net6/Files.expected Update expected Razor-generated file path layout for the net6-targeting fixture.
csharp/ql/integration-tests/all-platforms/cshtml_standalone_flowsteps/global.json Pin cshtml flowsteps fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/cshtml_standalone_disabled/global.json Pin cshtml disabled fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/conditional_compilation/global.json Pin conditional_compilation fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/blazor/XSS.expected Update expected Razor-generated file paths used in XSS flow steps (underscores → directories).
csharp/ql/integration-tests/all-platforms/blazor/global.json Pin blazor fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/blazor/Files.expected Update expected list of generated Razor outputs to new path layout.
csharp/ql/integration-tests/all-platforms/blazor/BlazorTest/global.json Pin nested BlazorTest fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/XSS.expected Update build-mode-none XSS expected Razor-generated file paths.
csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/global.json Pin blazor_build_mode_none fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/Files.expected Update expected generated Razor outputs list to new path layout.
csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/BlazorTest/global.json Pin nested BlazorTest (build mode none) fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/binlog/global.json Pin binlog fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/binlog_multiple/global.json Pin binlog_multiple fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/autobuild/global.json Pin autobuild fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/autobuild_slnx/global.json Pin autobuild_slnx fixture to SDK 10.0.201.

Copilot's findings

  • Files reviewed: 65/65 changed files
  • Comments generated: 0

@michaelnebel michaelnebel merged commit 9cfe646 into github:rc/3.21 Apr 7, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants