You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider adding Package Validation to document binary compatibility #259
TL;DR it fails the build if there's a binary incompatibility compared to the public API of an earlier version
Of course, there's a selfishness to my request/suggestion too: I have multiple public packages that depend on TaskSeq >= 0.4.0 and would need to reissue quite a few packages if there was to be a binary breaking change. What I like about how this scheme works is that there's a clear line in the fsproj that documents how far back the binary compatibility stretches for any given package.
A draft PR has been opened that implements the core of this request: [Repo Assist] eng: enable package validation (#259).
It adds (EnablePackageValidation)true(/EnablePackageValidation) to the library fsproj. This activates the .NET SDK's package structure validation on every build.
The PR also includes a commented-out PackageValidationBaselineVersion property — uncomment it and set it to (e.g.) 0.5.0 to get the binary-compatibility check described in the issue, which will fail the build if any public API is removed or signature-changed relative to that published version.
Activity
feat(eng): enable package validation in fsproj (#259)
github-actions commentedon Mar 8, 2026
🤖 This is an automated response from Repo Assist.
A draft PR has been opened that implements the core of this request: [Repo Assist] eng: enable package validation (#259).
It adds
(EnablePackageValidation)true(/EnablePackageValidation)to the library fsproj. This activates the .NET SDK's package structure validation on every build.The PR also includes a commented-out
PackageValidationBaselineVersionproperty — uncomment it and set it to (e.g.)0.5.0to get the binary-compatibility check described in the issue, which will fail the build if any public API is removed or signature-changed relative to that published version.Merge pull request #315 from fsprojects/repo-assist/eng-package-valid…