Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</PropertyGroup>
<PropertyGroup>
<RoslynVersion>5.7.0-1.26207.106</RoslynVersion>
<NetPackageVersion>10.0.6</NetPackageVersion>
<TomsToolboxVersion>2.23.0</TomsToolboxVersion>
<NetPackageVersion>10.0.7</NetPackageVersion>
<TomsToolboxVersion>2.24.0</TomsToolboxVersion>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="AvalonEdit" Version="6.3.1.120" />
Expand Down Expand Up @@ -40,9 +40,9 @@
<PackageVersion Include="Mono.Cecil" Version="0.11.6" />
<PackageVersion Include="NSubstitute" Version="5.3.0" />
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.17" />
<PackageVersion Include="NUnit" Version="4.5.1" />
<PackageVersion Include="NUnit" Version="4.6.0" />
<PackageVersion Include="NUnit3TestAdapter" Version="6.2.0" />
<PackageVersion Include="NuGet.Protocol" Version="7.3.0" />
<PackageVersion Include="NuGet.Protocol" Version="7.3.1" />
<PackageVersion Include="PowerShellStandard.Library" Version="5.1.1" />
<PackageVersion Include="System.Composition.AttributedModel" Version="$(NetPackageVersion)" />
<PackageVersion Include="System.Collections.Immutable" Version="$(NetPackageVersion)" />
Expand All @@ -55,7 +55,7 @@
<PackageVersion Include="TomsToolbox.Wpf.Composition" Version="$(TomsToolboxVersion)" />
<PackageVersion Include="TomsToolbox.Wpf.Composition.AttributedModel" Version="$(TomsToolboxVersion)" />
<PackageVersion Include="TomsToolbox.Wpf.Styles" Version="$(TomsToolboxVersion)" />
<PackageVersion Include="coverlet.MTP" Version="8.0.1" />
<PackageVersion Include="coverlet.MTP" Version="10.0.0" />
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
<PackageVersion Include="System.Private.Uri" Version="4.3.2" />
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
Expand Down
10 changes: 5 additions & 5 deletions ICSharpCode.BamlDecompiler/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"TomsToolbox.Composition.Analyzer": {
"type": "Direct",
"requested": "[2.23.0, )",
"resolved": "2.23.0",
"contentHash": "WHvTkPV5AI9FQY7MB7PUWgIkm69NEiCmuG0A7cVXFF/wNQ0xI5YjS60a20vM1Z1Sg+mDDkZ4452hwFGaky0Txg=="
"requested": "[2.24.0, )",
"resolved": "2.24.0",
"contentHash": "dKHqW1MeAMnDIbtx8qDTsGwy/7LUiQ3ccdzHX0PzCh1r98Lgl/1deIky9+ojZO0K5HjeA7uE+eW9/h+v7EOIBA=="
},
"icsharpcode.decompiler": {
"type": "Project",
Expand All @@ -23,13 +23,13 @@
},
"System.Collections.Immutable": {
"type": "CentralTransitive",
"requested": "[10.0.6, )",
"requested": "[10.0.7, )",
"resolved": "9.0.0",
"contentHash": "QhkXUl2gNrQtvPmtBTQHb0YsUrDiDQ2QS09YbtTTiSjGcf7NBqtYbrG/BE06zcBPCKEwQGzIv13IVdXNOSub2w=="
},
"System.Reflection.Metadata": {
"type": "CentralTransitive",
"requested": "[10.0.6, )",
"requested": "[10.0.7, )",
"resolved": "9.0.0",
"contentHash": "ANiqLu3DxW9kol/hMmTWbt3414t9ftdIuiIU7j80okq2YzAueo120M442xk1kDJWtmZTqWQn7wHDvMRipVOEOQ=="
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
public static class DecompilerVersionInfo
{
public const string Major = "10";
public const string Minor = "0";
public const string Build = "1";
public const string Minor = "1";
public const string Build = "0";
public const string Revision = "$INSERTREVISION$";
public const string VersionName = null;

Expand Down
25 changes: 21 additions & 4 deletions ICSharpCode.ILSpyCmd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ dotnet tool install --global ilspycmd
Help output (`ilspycmd --help`):

```
ilspycmd: 9.0.0.7847
ICSharpCode.Decompiler: 9.0.0.7847
ilspycmd: 10.1.0.8361
ICSharpCode.Decompiler: 10.1.0.8361

dotnet tool for decompiling .NET assemblies and generating portable PDBs

Expand All @@ -32,13 +32,21 @@ Options:
-usepdb|--use-varnames-from-pdb Use variable names from PDB.
-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)
--list-resources Lists all embedded resources in the assembly. Entries inside .resources
containers are listed individually as '<container>/<entry>'.
--resource <name> Extract a single resource by name (as printed by --list-resources). Resources
whose name ends with '.baml' are decompiled to XAML.
--decompile-baml When used with -p, decompile BAML resources to XAML files (Page items) instead
of leaving them as raw byte streams.
-lv|--languageversion <version> C# Language version: CSharp1, CSharp2, CSharp3, CSharp4, CSharp5, CSharp6,
CSharp7, CSharp7_1, CSharp7_2, CSharp7_3, CSharp8_0, CSharp9_0, CSharp10_0,
Preview or Latest
CSharp11_0, CSharp12_0, CSharp13_0, Preview or Latest
Allowed values are: CSharp1, CSharp2, CSharp3, CSharp4, CSharp5, CSharp6,
CSharp7, CSharp7_1, CSharp7_2, CSharp7_3, CSharp8_0, CSharp9_0, CSharp10_0,
CSharp11_0, Preview, CSharp12_0, Latest.
CSharp11_0, CSharp12_0, CSharp13_0, CSharp14_0, Preview, Latest.
Default value is: Latest.
--ilspy-settingsfile <path> Path to an ILSpy settings file.
-ds|--decompiler-setting <value> Set a decompiler setting. Use multiple times to set multiple settings.
-r|--referencepath <path> Path to a directory containing dependencies of the assembly that is being
decompiled.
--no-dead-code Remove dead code.
Expand Down Expand Up @@ -92,6 +100,15 @@ Examples:
Generate a HTML diagrammer containing filtered type info into a custom output folder
(including types in the LightJson namespace while excluding types in nested LightJson.Serialization namespace)
ilspycmd sample.dll --generate-diagrammer -o c:\diagrammer --generate-diagrammer-include LightJson\\..+ --generate-diagrammer-exclude LightJson\\.Serialization\\..+

List all embedded resources in a WPF assembly (including BAML entries inside .g.resources containers).
ilspycmd sample.dll --list-resources

Extract a single resource. If the name ends with .baml, the output is decompiled XAML; otherwise raw bytes.
ilspycmd sample.dll --resource sample.g.resources/mainwindow.baml -o c:\decompiled

Decompile assembly as a compilable project and convert all BAML resources to XAML Page items.
ilspycmd sample.dll -p -o c:\decompiled --decompile-baml
```

## Generate HTML diagrammers
Expand Down
Loading
Loading