Repository navigation
[release/11.0] Update template precedence to 11000 for BlazorWasmServiceDefaults and BlazorWebWorker - #70485
Merged
wtgodbe merged 1 commit intoNov 11, 2026
Conversation
… BlazorWebWorker Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the template precedence metadata update.
No open issues 🎉
What changed in this PR
Corrects precedence metadata for two .NET 11 Blazor templates so they rank above .NET 10 templates when installed side by side.
Changes:
- Raises both templates’ precedence from
10000to11000, matching their existing.11.0identities and the release’s template convention. - Changes metadata only; generated project content is unchanged.
| File | Description |
|---|---|
| src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWebWorker-CSharp/.template.config/template.json | Sets Blazor Web Worker template precedence to 11000. |
| src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWasmServiceDefaults-CSharp/.template.config/template.json | Sets Blazor WebAssembly Service Defaults template precedence to 11000. |
Review effort: Balanced
3 tasks
Member
|
/review |
Contributor
|
Review not published (BLOCKED): The frozen bundle's diff and head source disagree, so the required evidence is internally inconsistent. No partial findings were published.
|
akoeplinger
approved these changes
Nov 11, 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.
Update template precedence to 11000 for BlazorWasmServiceDefaults and BlazorWebWorker
Fix precedence in two 11.0 project templates (10000 -> 11000)
Description
The
BlazorWasmServiceDefaults-CSharpandBlazorWebWorker-CSharptemplates were missed in the 11.0 major version update and still have"precedence": "10000". Every other template in Web.ProjectTemplates uses 11000 (Major × 1000), and theiridentityis already*.11.0. Main has the equivalent 12000 fix in #70484.Customer Impact
If several versions of the template package are installed side by side,
dotnet newuses precedence to pick which version a short name resolves to. With 10000, the 11.0 versions of these templates would tie with any 10.0 versions that also used 10000, sodotnet newmight not pick 11.0.Regression?
Risk
Metadata-only change to two template.json files, matching the value every other 11.0 template already uses.
Verification
Not yet verified manually with
dotnet new.Packaging changes reviewed?