Skip to content

Conversation

@wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Nov 12, 2025

Get rid of package baseline, which is no longer needed (this code path never gets hit)

@wtgodbe wtgodbe added * NO MERGE * Do not merge this PR as long as this label is present. and removed * NO MERGE * Do not merge this PR as long as this label is present. labels Nov 12, 2025
@wtgodbe wtgodbe changed the title [Test] [release/10.0] Get rid of package baseline [release/10.0] Get rid of package baseline Nov 13, 2025
@wtgodbe wtgodbe marked this pull request as ready for review November 13, 2025 00:19
@wtgodbe wtgodbe requested review from a team and captainsafia as code owners November 13, 2025 00:19
Copilot AI review requested due to automatic review settings November 13, 2025 00:19
Copilot finished reviewing on behalf of wtgodbe November 13, 2025 00:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the package baseline infrastructure from the ASP.NET Core repository. The baseline system was previously used to ensure consistent package dependencies across servicing builds by tracking the last RTM release versions and preventing breaking changes to package dependencies.

Key Changes:

  • Removed the BaselineGenerator tool and all baseline validation logic from the build system
  • Deleted baseline data files (Baseline.xml and Baseline.Designer.props)
  • Updated documentation to remove references to baseline management

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/tools/BaselineGenerator/* Complete removal of the BaselineGenerator tool (Program.cs, .csproj, README.md)
eng/Baseline.xml Deleted baseline input file containing package versions from previous release (9.0.0)
eng/Baseline.Designer.props Deleted auto-generated MSBuild props file with baseline package references
eng/targets/ResolveReferences.targets Removed baseline reference resolution logic, UnusedBaselinePackageReference checks, and servicing build error for changed references
eng/targets/Packaging.targets Removed EnsureBaselineIsUpdated target that validated baseline currency
eng/scripts/CodeCheck.ps1 Removed step to regenerate package baselines during code checks
Directory.Build.targets Removed import of Baseline.Designer.props and logic to set versions based on baseline for non-patched packages in servicing builds
eng/Versions.props Removed ValidateBaseline property
eng/Dependencies.props Updated comment to remove reference to BaselinePackageReference items
src/Components/Components/src/Microsoft.AspNetCore.Components.csproj Removed SuppressBaselineReference items and related documentation comments
eng/tools/tools.slnf Removed BaselineGenerator project from solution filter
AspNetCore.slnx Removed BaselineGenerator project from solution
docs/ReferenceResolution.md Removed documentation about baseline files, SuppressBaselineReference usage, and breaking change examples
docs/PreparingPatchUpdates.md Removed instructions to update package baselines when preparing patch updates
docs/UpdatingMajorVersionAndTFM.md Removed step to update Baseline.xml after RTM ships

@wtgodbe wtgodbe added the tell-mode Indicates a PR which is being merged during tell-mode label Nov 13, 2025
@wtgodbe wtgodbe merged commit 050c600 into release/10.0 Nov 13, 2025
28 checks passed
@wtgodbe wtgodbe deleted the wtgodbe/NoMoreBaseline10 branch November 13, 2025 02:09
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0.0 milestone Nov 13, 2025
@wtgodbe wtgodbe modified the milestones: 10.0.0, 10.0.1 Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tell-mode Indicates a PR which is being merged during tell-mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants