[release/8.0] Remove package baseline infrastructure#65209
Merged
wtgodbe merged 2 commits intorelease/8.0from Feb 2, 2026
Merged
[release/8.0] Remove package baseline infrastructure#65209wtgodbe merged 2 commits intorelease/8.0from
wtgodbe merged 2 commits intorelease/8.0from
Conversation
Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Backport package baseline removal from PR #64337 to release/8.0
[release/8.0] Remove package baseline infrastructure
Jan 23, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR backports changes from release/10.0 (#64337) to remove the unused package baseline validation and generation infrastructure from release/8.0. The baseline infrastructure was originally designed to prevent dependency version regressions in servicing builds but is no longer executed, making it dead code.
Changes:
- Removed baseline configuration files (Baseline.xml, Baseline.Designer.props) and the BaselineGenerator tool
- Cleaned up MSBuild targets to remove baseline validation, reference resolution, and version logic
- Updated project files and scripts to remove baseline references and generation steps
- Updated documentation to remove instructions for baseline maintenance
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| eng/Baseline.xml | Deleted baseline configuration with version 8.0.21 package definitions |
| eng/Baseline.Designer.props | Deleted generated MSBuild properties file (998 lines) with baseline package versions and references |
| eng/tools/BaselineGenerator/. | Deleted complete baseline generation tool (README, Program.cs, .csproj) |
| eng/targets/ResolveReferences.targets | Removed BaselinePackageReference resolution logic and validation warnings/errors |
| eng/targets/Packaging.targets | Removed EnsureBaselineIsUpdated validation target |
| Directory.Build.targets | Removed Baseline.Designer.props import and BaselinePackageVersion-based versioning logic |
| eng/scripts/CodeCheck.ps1 | Removed baseline regeneration step from code check script |
| eng/Versions.props | Removed ValidateBaseline property |
| eng/Dependencies.props | Removed comment references to BaselinePackageReference |
| AspNetCore.sln | Removed BaselineGenerator project and configuration |
| eng/tools/tools.slnf | Removed BaselineGenerator project reference |
| src/Components/Components/src/Microsoft.AspNetCore.Components.csproj | Removed SuppressBaselineReference item group with comments |
| docs/PreparingPatchUpdates.md | Removed instructions to update package baselines |
| docs/ReferenceResolution.md | Removed baseline-related documentation and examples |
| docs/UpdatingMajorVersionAndTFM.md | Removed baseline update instructions |
akoeplinger
approved these changes
Jan 26, 2026
This was referenced Mar 10, 2026
Bump Microsoft.AspNetCore.Mvc.Testing from 8.0.24 to 8.0.25
TechnologyEnhancedLearning/TELBlazor#396
Closed
Open
This was referenced Mar 11, 2026
Merged
Open
Open
Open
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.
Backport of #64337 to release/8.0 - removes unused package baseline validation and generation tooling.
Description
Package baseline infrastructure was designed to prevent dependency version regressions in servicing builds. The code path is no longer executed, making it dead code.
Removed:
eng/Baseline.Designer.props(8.0.21 version definitions)eng/Baseline.xml(baseline configuration)eng/tools/BaselineGenerator/(generation tool)Updated:
Directory.Build.targets- removed baseline import andBaselinePackageVersionlogiceng/targets/ResolveReferences.targets- removedBaselinePackageReferenceresolution and validationeng/targets/Packaging.targets- removedEnsureBaselineIsUpdatedtargetAspNetCore.sln- removed BaselineGenerator project referenceseng/scripts/CodeCheck.ps1- removed baseline regeneration stepsrc/Components/Components/src/*.csproj- removedSuppressBaselineReferenceitemsCustomer Impact
None. Internal build infrastructure cleanup only.
Regression?
Risk
Removing dead code that never executes. Validated with successful C# project builds (Http.Abstractions, Components).
Verification
Packaging changes reviewed?
Baseline validation/generation is removed from build process.
When servicing release/2.1
Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.