Enable EnablePackageValidation for all src packages with 1.0.0 baseline#1330
Enable EnablePackageValidation for all src packages with 1.0.0 baseline#1330stephentoub merged 4 commits intomainfrom
EnablePackageValidation for all src packages with 1.0.0 baseline#1330Conversation
…src packages Co-authored-by: jeffhandley <1031940+jeffhandley@users.noreply.github.com>
EnablePackageValidation for all src packages with 0.9.0-preview.1 baseline
|
@copilot since this PR was created, the libraries have moved to a stable 1.0.0 release. Please update this PR accordingly, including resetting the baselining which should no longer be necessary. |
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Updated in 1c81385 — baseline is now |
EnablePackageValidation for all src packages with 0.9.0-preview.1 baselineEnablePackageValidation for all src packages with 1.0.0 baseline
|
@copilot can you temporarily make a breaking API change and validate that the build fails / catches it? |
Verified — I temporarily changed (repeated for net9.0, net10.0, and netstandard2.0) Ending with: The temporary change has been reverted — no code changes needed. |
Opts into
EnablePackageValidationso the build catches API breaking changes automatically against the published1.0.0stable baseline.Changes
src/Directory.Build.props: AddsEnablePackageValidation=trueandPackageValidationBaselineVersion=1.0.0— applies to all three packable projects (ModelContextProtocol.Core,ModelContextProtocol,ModelContextProtocol.AspNetCore)Any new breaking change introduced going forward will fail
dotnet packunless explicitly suppressed.Original prompt
EnablePackageValidationto catch breaking changes #1329💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.