Skip to content

A built-in tool for checking backward compatibility of NuGet packages #62541

Answered by PathogenDavid
kunga asked this question in Ideas
Discussion options

You must be logged in to vote

I've never used it myself, but my understanding is Microsoft.CodeAnalysis.PublicApiAnalyzers is a common solution for this.

(You might find this script in the Roslyn repo to be helpful for updating PublicAPI.Shipped.txt.)


If you prefer comparing built assemblies, check out Microsoft.DotNet.AsmDiff, which is what the runtime team uses to generate API diffs (See RunApiDiff.ps1 for their specific usage.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kunga
Comment options

Answer selected by CyrusNajmabadi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants