Skip to content

Conversation

@wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Nov 12, 2025

Part of #61775. Testing the assumption that this logic is no longer used/needed. Will need to check this against a servicing branch to really validate that assumption: #64337

Copilot AI review requested due to automatic review settings November 12, 2025 20:50
@wtgodbe wtgodbe requested review from a team and captainsafia as code owners November 12, 2025 20:50
@github-actions github-actions bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Nov 12, 2025
Copilot finished reviewing on behalf of wtgodbe November 12, 2025 20:52
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 packages maintained consistent dependencies across servicing releases, but is no longer needed based on the assumption that this logic is obsolete.

Key Changes:

  • Removed the BaselineGenerator tool and all baseline XML files
  • Eliminated baseline validation from build targets and scripts
  • Updated documentation to remove baseline-related instructions

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/* Deleted the entire BaselineGenerator tool including Program.cs, .csproj, and README.md
eng/Baseline.xml Deleted the baseline package list for version 9.0.0
eng/Baseline.Designer.props Deleted the auto-generated baseline properties file (993 lines)
eng/targets/ResolveReferences.targets Removed baseline reference resolution logic, UnusedBaselinePackageReference checks, and BUILD002 error; updated error message to remove baseline mention
eng/targets/Packaging.targets Removed EnsureBaselineIsUpdated target that validated baseline version
Directory.Build.targets Removed Baseline.Designer.props import and baseline version override logic for servicing builds
eng/scripts/CodeCheck.ps1 Removed step that regenerated package baselines
eng/Versions.props Removed ValidateBaseline property
eng/Dependencies.props Removed comment about BaselinePackageReference items
src/Components/Components/src/Microsoft.AspNetCore.Components.csproj Removed SuppressBaselineReference items and related comments
AspNetCore.slnx Removed BaselineGenerator.csproj reference
eng/tools/tools.slnf Removed BaselineGenerator.csproj reference
docs/ReferenceResolution.md Removed baseline-related documentation and examples
docs/UpdatingMajorVersionAndTFM.md Removed instruction to update baselines during major version updates
docs/PreparingPatchUpdates.md Removed instruction to update baselines for patch releases

@dotnet dotnet deleted a comment from github-actions bot Nov 12, 2025
@dotnet dotnet deleted a comment from github-actions bot Nov 12, 2025
Copy link
Member

@adityamandaleeka adityamandaleeka left a comment

Choose a reason for hiding this comment

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

LGTM provided that baselining isn't needed anymore.

@wtgodbe wtgodbe merged commit 32ee668 into main Nov 13, 2025
37 checks passed
@wtgodbe wtgodbe deleted the wtgodbe/NoMoreBaseline branch November 13, 2025 00:18
@dotnet-policy-service dotnet-policy-service bot added this to the 11.0-preview1 milestone Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants