A library to programmatically extract the contents of a single file application to a directory.
$ dotnet add package SingleFileExtractor.CoreThis is a library to programmatically extract the contents (assemblies, symbols, configuration, ...) of a single file application to a directory.
Install the SingleFileExtractor.Core NuGet package for your project.
BundleExtractor.Extract("Application.exe", "path/to/output");
var manifest = new ExecutableReader().Read("Application.exe");
var file = manifest.Files.Single(x => x.RelativePath == "Example.dll");
file.Extract(""Example.dll); // or file.AsStream()