Skip to content
This repository was archived by the owner on Aug 18, 2023. It is now read-only.

pjbgf-archives/dotnet-ildiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnet-ildiff

Build status Nuget Nuget License

Description

The dotnet ildiff compares the IL difference between two .NET assemblies. Simply send the assemblies path as parameter and as a result you will get the diff.

Setup

The project was created as a global CLI tool, therefore you can install with a single command:

dotnet tool install -g dotnet-ildiff

Notice that for the command above to work, you need .NET Core SDK 2.1.300 or above installed in your machine.

Syntax

dotnet ildiff <ASSEMBLY1_PATH> <ASSEMBLY2_PATH>
dotnet ildiff <ASSEMBLY1_PATH> <ASSEMBLY2_PATH> <-o|--output>
dotnet ildiff <ASSEMBLY1_PATH> <ASSEMBLY2_PATH> <-i|--item>
dotnet ildiff <-h|--help>

Options

-i
Filter results by method and/or classes to be disassembled.

-o
Define the output file to be created with the assembly's IL.

Examples

Output IL diff to the command line:

dotnet ildiff myassembly1.dll myassembly2.dll

Filter results by method and/or classes to be disassembled, showing the result in the command line:

dotnet ildiff myassembly1.dll myassembly2.dll -i ClassName
dotnet ildiff myassembly1.dll myassembly2.dll -i ::MethodName
dotnet ildiff myassembly1.dll myassembly2.dll -i ClassName::MethodName

Define the file to be created with the output:

dotnet ildiff myassembly1.dll myassembly2.dll -o disassembledAssembly.il

Powered by

This tool was developed and is maintained with JetBrains Rider: the cross-platform and lightweight .NET/C# IDE which comes with ReSharper integrated. For more information check JetBrains' website.

About

Light-weight cross platform IL diff tool built in C#.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages