我正在尝试在我的 Kali Linux 机器上安装 ILSpy。我已经按照其 Github 存储库(https://github.com/icsharpcode/ILSpy)上的步骤进行操作,一切似乎都很好(成功构建等)。问题是我不知道如何启动或使用它。
也许这是一个愚蠢的问题,所以如果是这样的话,请原谅我。
这是我所做的步骤:
$ dotnet --version
8.0.204
$ which pwsh
/usr/bin/pwsh
$ git clone https://github.com/icsharpcode/ILSpy
$ cd ILSpy
$ git submodule update --init --recursive
$ dotnet build ILSpy.XPlat.slnf
MSBuild version 17.9.8+b34f75857 for .NET
Determining projects to restore...
All projects are up-to-date for restore.
38e7ab4373e8cf36938d4a41dd05f7ced5490bd6
ICSharpCode.Decompiler.TestRunner -> /opt/ILSpy/ICSharpCode.Decompiler.TestRunner/bin/Debug/net8.0/ICSharpCode.Decompiler.TestRunner.dll
ICSharpCode.Decompiler -> /opt/ILSpy/ICSharpCode.Decompiler/bin/Debug/netstandard2.0/ICSharpCode.Decompiler.dll
ICSharpCode.Decompiler.PowerShell -> /opt/ILSpy/ICSharpCode.Decompiler.PowerShell/bin/Debug/netstandard2.0/ICSharpCode.Decompiler.PowerShell.dll
ICSharpCode.ILSpyX -> /opt/ILSpy/ICSharpCode.ILSpyX/bin/Debug/net8.0/ICSharpCode.ILSpyX.dll
38e7ab4373e8cf36938d4a41dd05f7ced5490bd6
ICSharpCode.ILSpyCmd -> /opt/ILSpy/ICSharpCode.ILSpyCmd/bin/Debug/net8.0/ilspycmd.dll
ICSharpCode.Decompiler.Tests -> /opt/ILSpy/ICSharpCode.Decompiler.Tests/bin/Debug/net8.0-windows/win-x64/ICSharpCode.Decompiler.Tests.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:04.78
我没有构建目录,这是我所拥有的:
$ ls
BuildTools ILSpy.AddIn.Shared NuGet.config
Directory.Packages.props ILSpy.AddIn.VS2022 README.md
ICSharpCode.BamlDecompiler ILSpy.BamlDecompiler SharpTreeView
ICSharpCode.Decompiler ILSpy.BamlDecompiler.Tests TestPlugin
ICSharpCode.Decompiler.PowerShell ILSpy.Installer VERSION
ICSharpCode.Decompiler.TestRunner ILSpy.Installer.sln clean.bat
ICSharpCode.Decompiler.Tests ILSpy.ReadyToRun debugbuild.bat
ICSharpCode.ILSpyCmd ILSpy.Tests decompiler-nuget-demos.ipynb
ICSharpCode.ILSpyX ILSpy.VSExtensions.sln doc
ILSpy ILSpy.Wpf.slnf global.json
ILSpy-tests ILSpy.XPlat.slnf publish.ps1
ILSpy.AddIn ILSpy.sln releasebuild.bat