28 September 2006
LibCheck: Highlight Public API Differences Between Assembly Revisions
LibCheck is an assembly comparison tool that:
"... allows you to compare two versions of an assembly, and determine the differences. The tool reports the differences as a combination of 'removed' and 'added' APIs."The comparison results present:
- "removed" items: the original member has been either removed or modified;
- "added" items: member has been added to the new version, or is a modified form of an original member;
- breaking changes highlighted in red.
The following example compares two versions of an assembly.
Generating Metadata for Comparisonlibcheck.exe -store
AssemblyName FolderNameToStoreResults -full
FolderContainingAssemblyFor example:
libcheck.exe -store HelloWorld.dll 1.0.0.0 -full C:\HelloWorldV1\
libcheck.exe -store HelloWorld.dll 2.0.0.0 -full C:\HelloWorldV2\
Performing the Comparison libcheck.exe -compare
FolderContainingFirstStoreResults FolderContainingSecondStoreResults For example:
libcheck.exe -compare 1.0.0.0 2.0.0.0
Here is an
example comparison report.