Repository navigation
C#: Update the BMN Blazor test to .NET 11 - #23138
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The test’s restore can resolve the SDK from the root’s 10.0.201 pin, which cannot target net11.0, and the generated baselines also need regeneration through the test harness.
3 open issues
What changed in this PR
Updates the Blazor build-mode-none integration test to target .NET 11 and refreshes its expected Razor source-generator outputs.
Changes:
- Pins the test project to SDK
11.0.100. - Changes the target framework from
net10.0tonet11.0. - Refreshes generated-file listings and XSS source locations.
| File | Description |
|---|---|
| csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/XSS.expected | Updates expected XSS analysis locations for Razor sources generated by .NET 11. |
| csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/Files.expected | Adds the generated Razor declaration files expected from the .NET 11 SDK. |
| csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/BlazorTest/global.json | Pins the Blazor test project to the .NET SDK version 11.0.100. |
| csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/BlazorTest/BlazorTest.csproj | Changes the Blazor test project target framework from net10.0 to net11.0. |
Review effort: Lite (dynamic)
michaelnebel
force-pushed
the
csharp/blazornet11test
branch
from
November 16, 2026 12:15
11c90d4 to
092239b
Compare
michaelnebel
marked this pull request as ready for review
November 16, 2026 13:00
hvitved
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


The pinning of .NET isn't respected for the source generators. In this PR we update the Blazor test to .NET 11 instead.