[release/9.0] Remove package baseline#65208
Merged
wtgodbe merged 4 commits intorelease/9.0from Feb 2, 2026
Merged
Conversation
Backport of PR #64337 from release/10.0 to release/9.0. Removes the package baseline mechanism which is no longer needed. Changes: - Removed baseline file references from build configuration - Deleted eng/Baseline.xml and eng/Baseline.Designer.props - Deleted eng/tools/BaselineGenerator/ directory - Removed baseline targets and references from build files - Updated solution files to remove BaselineGenerator project - Updated documentation to remove baseline references - Removed ValidateBaseline property from Versions.props - Removed SuppressBaselineReference from Components.csproj Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Backport changes from PR #64337 to release/9.0
[release/9.0] Remove package baseline
Jan 23, 2026
Reverted changes to 5 auto-generated files that were unrelated to the baseline removal: - eng/ProjectReferences.props - eng/RequiresDelayedBuildProjects.props - eng/SharedFramework.Local.props - eng/ShippingAssemblies.props - eng/TrimmableProjects.props These files were modified by the GenerateProjectList.ps1 script but the changes are not part of the baseline removal backport. Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the package baseline mechanism from the ASP.NET Core 9.0 release branch, backporting changes from #64337 (release/10.0). The baseline system tracked dependency versions across servicing releases but was never executed in practice.
Changes:
- Removes baseline files (Baseline.xml, Baseline.Designer.props totaling 1,115 lines)
- Deletes the BaselineGenerator tool (3 files, 432 lines of code)
- Removes build logic for baseline validation and reference resolution from MSBuild targets
- Updates documentation to remove references to the baseline system
- Removes baseline generation from CodeCheck.ps1 script
- Removes project from solution files and cleans up project suppressions
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 113-line baseline package list (9.0.10 versions) |
| eng/Baseline.Designer.props | Deleted 1,002-line auto-generated baseline properties file |
| eng/tools/BaselineGenerator/README.md | Deleted tool documentation |
| eng/tools/BaselineGenerator/Program.cs | Deleted 398-line baseline generator implementation |
| eng/tools/BaselineGenerator/BaselineGenerator.csproj | Deleted project file |
| eng/targets/ResolveReferences.targets | Removed baseline reference resolution logic and validation |
| eng/targets/Packaging.targets | Removed baseline version validation target |
| Directory.Build.targets | Removed baseline import and version override logic |
| eng/Versions.props | Removed ValidateBaseline property |
| AspNetCore.sln | Removed BaselineGenerator project entries |
| eng/tools/tools.slnf | Removed BaselineGenerator from solution filter |
| src/Components/Components/src/Microsoft.AspNetCore.Components.csproj | Removed SuppressBaselineReference items |
| eng/scripts/CodeCheck.ps1 | Removed baseline regeneration step |
| eng/Dependencies.props | Removed baseline-related comments |
| docs/UpdatingMajorVersionAndTFM.md | Removed baseline update instructions |
| docs/ReferenceResolution.md | Removed baseline documentation sections |
| docs/PreparingPatchUpdates.md | Removed baseline update instructions |
akoeplinger
approved these changes
Jan 26, 2026
wtgodbe
approved these changes
Feb 2, 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.
Backport of #64337 to release/9.0. Removes baseline mechanism.
Description
The package baseline system tracked dependency versions across servicing releases but the code path was never executed in practice. This removes:
eng/Baseline.xml,eng/Baseline.Designer.props(1,115 lines)eng/tools/BaselineGenerator/(3 files, 432 lines)Directory.Build.targets,Packaging.targets,ResolveReferences.targetsPreparingPatchUpdates.md,ReferenceResolution.md,UpdatingMajorVersionAndTFM.mdCodeCheck.ps1AspNetCore.slnandtools.slnfSuppressBaselineReferenceitems fromMicrosoft.AspNetCore.Components.csprojDifferences from 10.0: Uses
AspNetCore.sln(9.0) vsAspNetCore.slnx(10.0), version numbers reflect 9.0.13.Note: Changes to auto-generated files (
ProjectReferences.props,RequiresDelayedBuildProjects.props,SharedFramework.Local.props,ShippingAssemblies.props,TrimmableProjects.props) that were unrelated to the baseline removal have been reverted.Customer Impact
None. Internal build system simplification only.
Regression?
Risk
Removes dead code that was never executed. Build and test validation completed successfully.
Verification
Built multiple projects successfully:
Microsoft.AspNetCore.Components,Microsoft.AspNetCore.Http. Restore completed without errors.Packaging changes reviewed?
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.