1- # ilspycmd .NET 6.0 Tool
1+ # ilspycmd .NET Tool
22
33To install:
44
55```
6- dotnet tool install ilspycmd -g
6+ dotnet tool install --global ilspycmd
77```
88
9- Help output (` ilspycmd --- help ` ):
9+ Help output (` ilspycmd --help ` ):
1010
1111```
12- ilspycmd: 8.0 .0.7007
13- ICSharpCode.Decompiler: 8.0 .0.7007
12+ ilspycmd: 8.2 .0.7535
13+ ICSharpCode.Decompiler: 8.2 .0.7535
1414
1515dotnet tool for decompiling .NET assemblies and generating portable PDBs
1616
@@ -20,7 +20,7 @@ Arguments:
2020 Assembly file name(s) The list of assemblies that is being decompiled. This argument is mandatory.
2121
2222Options:
23- -v|--version Show version information .
23+ -v|--version Show version of ICSharpCode.Decompiler used .
2424 -h|--help Show help information.
2525 -o|--outputdir <directory> The output directory, if omitted decompiler output is written to standard out.
2626 -p|--project Decompile assembly as compilable project. This requires the output directory option.
@@ -29,15 +29,19 @@ Options:
2929 --il-sequence-points Show IL with sequence points. Implies -il.
3030 -genpdb|--generate-pdb Generate PDB.
3131 -usepdb|--use-varnames-from-pdb Use variable names from PDB.
32- -l|--list <entity-type(s)> Lists all entities of the specified type(s). Valid types: c(lass), i(nterface),
33- s(truct), d(elegate), e(num)
34- -lv|--languageversion <version> C# Language version: CSharp1, CSharp2, CSharp3, CSharp4, CSharp5, CSharp6, CSharp7_0,
35- CSharp7_1, CSharp7_2, CSharp7_3, CSharp8_0, CSharp9_0, CSharp_10_0 or Latest
32+ -l|--list <entity-type(s)> Lists all entities of the specified type(s). Valid types: c(lass), i(nterface), s(truct), d(elegate), e(num)
33+ -lv|--languageversion <version> C# Language version: CSharp1, CSharp2, CSharp3, CSharp4, CSharp5, CSharp6, CSharp7, CSharp7_1, CSharp7_2,
34+ CSharp7_3, CSharp8_0, CSharp9_0, CSharp10_0, Preview or Latest
35+ Allowed values are: CSharp1, CSharp2, CSharp3, CSharp4, CSharp5, CSharp6, CSharp7, CSharp7_1, CSharp7_2,
36+ CSharp7_3, CSharp8_0, CSharp9_0, CSharp10_0, CSharp11_0, Preview, Latest.
37+ Default value is: Latest.
3638 -r|--referencepath <path> Path to a directory containing dependencies of the assembly that is being decompiled.
3739 --no-dead-code Remove dead code.
3840 --no-dead-stores Remove dead stores.
39- -d|--dump-package Dump package assembiles into a folder. This requires the output directory option.
41+ -d|--dump-package Dump package assemblies into a folder. This requires the output directory option.
4042 --nested-directories Use nested directories for namespaces.
43+ --disable-updatecheck If using ilspycmd in a tight loop or fully automated scenario, you might want to disable the automatic update
44+ check.
4145
4246Remarks:
4347 -o is valid with every option and required when using -p.
@@ -52,7 +56,7 @@ Examples:
5256 Decompile assembly to destination directory, create a project file, one source file per type.
5357 ilspycmd -p -o c:\decompiled sample.dll
5458
55- Decompile assembly to destination directory, create a project file, one source file per type,
59+ Decompile assembly to destination directory, create a project file, one source file per type,
5660 into nicely nested directories.
5761 ilspycmd --nested-directories -p -o c:\decompiled sample.dll
5862```
0 commit comments