1
- # ilspycmd .NET 6.0 Tool
1
+ # ilspycmd .NET Tool
2
2
3
3
To install:
4
4
5
5
```
6
- dotnet tool install ilspycmd -g
6
+ dotnet tool install --global ilspycmd
7
7
```
8
8
9
- Help output (` ilspycmd --- help ` ):
9
+ Help output (` ilspycmd --help ` ):
10
10
11
11
```
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
14
14
15
15
dotnet tool for decompiling .NET assemblies and generating portable PDBs
16
16
@@ -20,7 +20,7 @@ Arguments:
20
20
Assembly file name(s) The list of assemblies that is being decompiled. This argument is mandatory.
21
21
22
22
Options:
23
- -v|--version Show version information .
23
+ -v|--version Show version of ICSharpCode.Decompiler used .
24
24
-h|--help Show help information.
25
25
-o|--outputdir <directory> The output directory, if omitted decompiler output is written to standard out.
26
26
-p|--project Decompile assembly as compilable project. This requires the output directory option.
@@ -29,15 +29,19 @@ Options:
29
29
--il-sequence-points Show IL with sequence points. Implies -il.
30
30
-genpdb|--generate-pdb Generate PDB.
31
31
-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.
36
38
-r|--referencepath <path> Path to a directory containing dependencies of the assembly that is being decompiled.
37
39
--no-dead-code Remove dead code.
38
40
--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.
40
42
--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.
41
45
42
46
Remarks:
43
47
-o is valid with every option and required when using -p.
@@ -52,7 +56,7 @@ Examples:
52
56
Decompile assembly to destination directory, create a project file, one source file per type.
53
57
ilspycmd -p -o c:\decompiled sample.dll
54
58
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,
56
60
into nicely nested directories.
57
61
ilspycmd --nested-directories -p -o c:\decompiled sample.dll
58
62
```
0 commit comments