Skip to content

Remove unnecessary DisablePackageBaselineValidation from projects#130701

Merged
akoeplinger merged 1 commit into
mainfrom
remove-disable-baseline-validation
Jul 15, 2026
Merged

Remove unnecessary DisablePackageBaselineValidation from projects#130701
akoeplinger merged 1 commit into
mainfrom
remove-disable-baseline-validation

Conversation

@akoeplinger

Copy link
Copy Markdown
Member
  • System.Linq.AsyncEnumerable already shipped a stable version
  • Microsoft.NET.Runtime.WebAssembly.Templates can't be validated
  • Mono.Linker doesn't actually ship and we already set DisablePackageBaselineValidation in that case in eng/packaging.targets

- System.Linq.AsyncEnumerable already shipped a stable version
- Microsoft.NET.Runtime.WebAssembly.Templates can't be validated
- Mono.Linker doesn't actually ship and we already set DisablePackageBaselineValidation in that case in eng/packaging.targets
@akoeplinger
akoeplinger temporarily deployed to copilot-pat-pool July 14, 2026 17:21 — with GitHub Actions Inactive
@akoeplinger
akoeplinger temporarily deployed to copilot-pat-pool July 14, 2026 17:21 — with GitHub Actions Inactive
@github-actions github-actions Bot added the area-Tools-ILLink .NET linker development as well as trimming analyzers label Jul 14, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service dotnet-policy-service Bot added the linkable-framework Issues associated with delivering a linker friendly framework label Jul 14, 2026
@akoeplinger akoeplinger added area-Infrastructure-libraries and removed linkable-framework Issues associated with delivering a linker friendly framework area-Tools-ILLink .NET linker development as well as trimming analyzers labels Jul 14, 2026
@akoeplinger
akoeplinger temporarily deployed to copilot-pat-pool July 14, 2026 17:23 — with GitHub Actions Inactive
@dotnet-policy-service dotnet-policy-service Bot added the linkable-framework Issues associated with delivering a linker friendly framework label Jul 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 simplifies package baseline validation configuration by removing redundant per-project DisablePackageBaselineValidation settings where they’re no longer needed (or already enforced globally), and clarifies when the property is still required.

Changes:

  • Removed DisablePackageBaselineValidation from System.Linq.AsyncEnumerable now that it can participate in baseline validation.
  • Removed redundant DisablePackageBaselineValidation from Mono.Linker (baseline validation is already disabled for IsShipping=false via eng/packaging.targets).
  • Added an explanatory comment for why baseline validation remains disabled for the WebAssembly templates package, and updated the project guidelines accordingly.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/tools/illink/src/linker/Mono.Linker.csproj Removes redundant baseline-validation disable; project is already covered by IsShipping=false logic in packaging targets.
src/mono/wasm/templates/Microsoft.NET.Runtime.WebAssembly.Templates.csproj Keeps baseline validation disabled and documents why it can’t be validated against the shared baseline version.
src/libraries/System.Linq.AsyncEnumerable/src/System.Linq.AsyncEnumerable.csproj Re-enables baseline validation by removing the temporary disable property.
docs/coding-guidelines/project-guidelines.md Updates guidance to describe the property usage without pointing to a now-outdated example link.

@akoeplinger
akoeplinger temporarily deployed to copilot-pat-pool July 14, 2026 17:24 — with GitHub Actions Inactive
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

@akoeplinger
akoeplinger temporarily deployed to copilot-pat-pool July 14, 2026 17:24 — with GitHub Actions Inactive
@akoeplinger

Copy link
Copy Markdown
Member Author

/ba-g unrelated infrastructure timeouts

@akoeplinger
akoeplinger merged commit 750e29f into main Jul 15, 2026
141 of 148 checks passed
@akoeplinger
akoeplinger deleted the remove-disable-baseline-validation branch July 15, 2026 10:09
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Infrastructure-libraries linkable-framework Issues associated with delivering a linker friendly framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants