Lokad.ILPack 0.1.6

A library for serializing dynamic assemblies under .NET Core.

Install-Package Lokad.ILPack -Version 0.1.6
dotnet add package Lokad.ILPack --version 0.1.6
<PackageReference Include="Lokad.ILPack" Version="0.1.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lokad.ILPack --version 0.1.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lokad.ILPack, 0.1.6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lokad.ILPack as a Cake Addin
#addin nuget:?package=Lokad.ILPack&version=0.1.6

// Install Lokad.ILPack as a Cake Tool
#tool nuget:?package=Lokad.ILPack&version=0.1.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Exports a .NET type to a serialized assembly, with support for dynamic
assemblies (i.e. custom IL generation). This library is intended as a
drop-in replacement for the AssemblyBuilder.Save method which existed
since .NET 1.1 but that as not been ported to .NET Core 3.0.

Usage:

var assembly = Assembly.GetAssembly(t);
var generator = new Lokad.ILPack.AssemblyGenerator();

// for ad-hoc serialization
var bytes = generator.GenerateAssemblyBytes(assembly);

// direct serialization to disk
generator.GenerateAssembly(assembly, "/path/to/file");

Exports a .NET type to a serialized assembly, with support for dynamic
assemblies (i.e. custom IL generation). This library is intended as a
drop-in replacement for the AssemblyBuilder.Save method which existed
since .NET 1.1 but that as not been ported to .NET Core 3.0.

Usage:

var assembly = Assembly.GetAssembly(t);
var generator = new Lokad.ILPack.AssemblyGenerator();

// for ad-hoc serialization
var bytes = generator.GenerateAssemblyBytes(assembly);

// direct serialization to disk
generator.GenerateAssembly(assembly, "/path/to/file");

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Lokad.ILPack:

Package Downloads
aqlaserializer
AqlaSerializer is intended to serialize objects, not just data. What the difference? Data serializers don't care much about language runtime specifics like references, inheritance, etc. In contrast, an object serializer should take such things into account. AqlaSerializer primary goal is to support important .NET features like nested collections, multi-dimensional arrays, references, etc. And it still supports Google Protocol Buffers format. Like protobuf-net AqlaSerializer makes possible to store objects as a small in size binary data (far smaller than xml). And it's more CPU effective than BinaryFormatter and other core .NET serializers (which could be unavailable on your target platform). Its format is designed to be: small in size - efficient data storage (far smaller than xml) cheap to process - both at the client and server platform independent - portable between different programming architectures extensible - to add new data to old messages. The implementation is compatible with most of the .NET family, including .NET 2.0/3.0/3.5/4.0, .NET Standard 2.1 (.NET Core 3, .NET 5), Windows Phone 8, Silverlight, Xamarin.Android, etc. The code is heavily based on Marc Gravell's protobuf-net but there are a lot of improvements and fixes. The original protobuf-net project contains many "red" unit tests but I managed to fix a lot of them. Some build configurations may be not available through nuget, you can download their binaries manually from github (use Project Site link).
aqla.runsharp
RunSharp is a runtime IL generator based on Reflection.Emit and IKVM which allows you to emit IL in a way similar to writing normal C# code. It's a layer above the standard .NET Reflection.Emit API, allowing to generate/compile dynamic code at runtime very quickly and efficiently (unlike using CodeDOM and invoking the C# compiler). Platforms: * .NET Standard 2.1 (including .NET Core 3 and .NET 5) * .NET 2.0 and higher including .NET 4 (also IKVM version available) * Windows Phone 8 * Silverlight 5 The IKVM version has also an ability to emit NET 2.0 and .NET 4.0 assemblies (while running on, for example, .NET 3.0). This package is a fork of TriAxis.RunSharp (the original is now abandoned).
h5.Compiler.Service
C# to JavaScript compiler-as-a-service 🚀
Ultz.SuperInvoke.AOT
SuperTools is an advanced set of libraries to aid low-level development in C#. This package provides extension methods for saving SuperInvoke implementations to disk.
Yolol.IL
Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Lokad.ILPack:

Repository Stars
pardeike/Harmony
A library for patching, replacing and decorating .NET and Mono methods during runtime

Version History

Version Downloads Last updated
0.1.6 3,251 10/30/2020
0.1.5 1,382 10/5/2020
0.1.4 26,526 3/11/2020
0.1.3 4,615 9/27/2019
0.1.2 220 9/26/2019
0.1.1 467 6/11/2019
0.1.0 300 5/24/2019