Skip to content

Conversation

@siegfriedpammer
Copy link
Member

@siegfriedpammer siegfriedpammer commented Jul 19, 2025

Usage: select two assemblies from the Assemblies list, right-click and select Compare from the context menu.

Features:

  • By default, only changes are shown. Click "Show identical entries" from the toolbar to see everything in the assemblies.
  • By default, the comparison is not expanded. Click "Expand all" from the toolbar to expand the comparison tree.
  • Depending on the order in which you selected the two assemblies, the "left" and "right" assemblies might not be in proper version order. Click "Swap left and right" in the toolbar, and the title bar of the window will reflect the comparison order.
  • If you want to export, click "Copy to clipboard as JSON" for later formatting into eg markdown format.

Possible Improvements:

  • Changes on members are not detected, instead, if a member is renamed or its signature changed, you get two changes, the old member is removed and a new one is added.

Screenshots

Our decompiler package 9 vs 9.1
image

Microsoft.Graph (takes a few seconds to compare)
image

JSON export to markdown

Post-processed (pasted into new document) in VS Code using Copilot Agent mode with Claude Sonnet 4 and the following prompt:

"The current document is a JSON document of a comparison of two .NET assemblies (left and right attributes), listing what has changed: added types, added or removed methods/properties/fields. Take this list of changes and create a markdown file with changes grouped in a table per type, with added in green, removed in red."

Prompt can be further improved by giving more details about document structure.

image

@siegfriedpammer siegfriedpammer merged commit 844f5b4 into master Jul 24, 2025
9 checks passed
@siegfriedpammer siegfriedpammer deleted the feature/api-diff branch July 24, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants