GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Lokad/ILPack: Serialize .NET Core assemblies

BranchesTags
Open more actions menu

Latest commit

 

History

171 Commits
171 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
test
test
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
LICENSE.txt
LICENSE.txt
 
 
Lokad.ILPack.sln
Lokad.ILPack.sln
 
 
Lokad.ILPack.snk
Lokad.ILPack.snk
 
 
README.md
README.md
 
 
lokad.png
lokad.png
 
 
signing.md
signing.md
 
 

Repository files navigation

Lokad.ILPack

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 has not been ported to .NET Core 3.0.

To install with NuGet:

Install-Package Lokad.ILPack

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");

Released under the MIT license.

About

Serialize .NET Core assemblies

Topics

c-sharpdotnetdotnet-coremsilserialization

Resources

Readme
MIT license
Activity
Custom properties

Stars

311 stars

Watchers

13 watching

Forks

39 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.