Skip to content

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

Merged
michaelnebel merged 1 commit into
github: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 into
github:rc/3.21from
michaelnebel:csharp/rc3.21/updateintegrationtests

Conversation

@michaelnebel

@michaelnebelmichaelnebel commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

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

@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 ownerApril 7, 2026 11:53

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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
FileDescription
csharp/ql/integration-tests/windows/standalone_dependencies/global.jsonPin Windows standalone-dependencies integration test to SDK 10.0.201.
csharp/ql/integration-tests/posix/warn_as_error/global.jsonPin warn-as-error integration test to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies/global.jsonPin posix standalone-dependencies integration test to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies/Assemblies.expectedUpdate expected assemblies list to match ref pack version/path changes.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget/global.jsonPin standalone-dependencies (nuget) test to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget_versions/global.jsonPin standalone-dependencies (nuget versions) test to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget_no_sources/proj/global.jsonPin nuget-no-sources fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget_config_fallback/global.jsonPin nuget-config-fallback fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget_config_error/global.jsonPin nuget-config-error fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget_config_error_timeout/global.jsonPin nuget-config-error-timeout fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_nuget with_space/global.jsonPin “with_space” fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/global.jsonPin no-framework fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_multi_target/global.jsonPin multi-target fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/standalone_dependencies_multi_target/Assemblies.expectedUpdate expected assemblies list for multi-target scenario to new ref pack paths.
csharp/ql/integration-tests/posix/standalone_dependencies_multi_project/global.jsonPin multi-project fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/inherit-env-vars/global.jsonPin inherit-env-vars fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/dotnet_test/global.jsonPin dotnet_test fixture to SDK 10.0.201.
csharp/ql/integration-tests/posix/dotnet_test_mstest/global.jsonPin dotnet_test_mstest fixture to SDK 10.0.201.
csharp/ql/integration-tests/linux/standalone_dependencies_non_utf8_filename/global.jsonPin non-UTF8 filename fixture to SDK 10.0.201.
csharp/ql/integration-tests/linux/diag_nuget_config_casing/global.jsonPin nuget-config casing diagnostics fixture to SDK 10.0.201.
csharp/ql/integration-tests/linux/compiler_args/global.jsonPin compiler-args fixture to SDK 10.0.201.
csharp/ql/integration-tests/linux/compiler_args/CompilerArgs.expectedUpdate expected compiler arguments for new SDK (adds /nowarn entry and updates reference/analyzer paths).
csharp/ql/integration-tests/all-platforms/standalone/global.jsonPin all-platforms standalone fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_winforms/global.jsonPin winforms fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_winforms/Assemblies.expectedUpdate expected winforms assemblies list to new windowsdesktop ref pack paths.
csharp/ql/integration-tests/all-platforms/standalone_slnx/global.jsonPin slnx fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_resx/global.jsonPin resx fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_failed/global.jsonPin standalone_failed fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_dependency_dir/proj/global.jsonPin dependency-dir fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_dependencies_net48/global.jsonPin net48 dependencies fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/standalone_buildless_option/global.jsonPin buildless-option fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/source_generator/global.jsonPin source_generator fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_run/global.jsonPin dotnet_run fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_publish/global.jsonPin dotnet_publish fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_pack/global.jsonPin dotnet_pack fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_no_args_inject/global.jsonPin dotnet_no_args_inject fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_build/global.jsonPin dotnet_build fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/dotnet_10/global.jsonPin dotnet_10 fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/diag_recursive_generics/global.jsonPin recursive-generics diagnostics fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/global.jsonPin missing-xamarin diagnostics fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/diag_missing_project_files/global.jsonPin missing-project-files diagnostics fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/global.jsonPin dotnet-incompatible diagnostics fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/cshtml/global.jsonPin cshtml fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/cshtml/Files.expectedUpdate expected Razor-generated file path layout (underscores → directory separators).
csharp/ql/integration-tests/all-platforms/cshtml_standalone/global.jsonPin cshtml_standalone fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/cshtml_standalone/Files.expectedUpdate expected Razor-generated file path layout for standalone extraction.
csharp/ql/integration-tests/all-platforms/cshtml_standalone_net6/global.jsonUpdate SDK pin for the net6-targeting cshtml standalone fixture to 10.0.201.
csharp/ql/integration-tests/all-platforms/cshtml_standalone_net6/Files.expectedUpdate expected Razor-generated file path layout for the net6-targeting fixture.
csharp/ql/integration-tests/all-platforms/cshtml_standalone_flowsteps/global.jsonPin cshtml flowsteps fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/cshtml_standalone_disabled/global.jsonPin cshtml disabled fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/conditional_compilation/global.jsonPin conditional_compilation fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/blazor/XSS.expectedUpdate expected Razor-generated file paths used in XSS flow steps (underscores → directories).
csharp/ql/integration-tests/all-platforms/blazor/global.jsonPin blazor fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/blazor/Files.expectedUpdate expected list of generated Razor outputs to new path layout.
csharp/ql/integration-tests/all-platforms/blazor/BlazorTest/global.jsonPin nested BlazorTest fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/XSS.expectedUpdate build-mode-none XSS expected Razor-generated file paths.
csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/global.jsonPin blazor_build_mode_none fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/Files.expectedUpdate expected generated Razor outputs list to new path layout.
csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/BlazorTest/global.jsonPin nested BlazorTest (build mode none) fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/binlog/global.jsonPin binlog fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/binlog_multiple/global.jsonPin binlog_multiple fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/autobuild/global.jsonPin autobuild fixture to SDK 10.0.201.
csharp/ql/integration-tests/all-platforms/autobuild_slnx/global.jsonPin 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.21Apr 7, 2026
23 checks passed
Sign up for freeto 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

@michaelnebel@hvitved