CodeBrix.AssemblyTools.MitLicenseForever 1.0.117

dotnet add package CodeBrix.AssemblyTools.MitLicenseForever --version 1.0.117
                    
NuGet\Install-Package CodeBrix.AssemblyTools.MitLicenseForever -Version 1.0.117
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodeBrix.AssemblyTools.MitLicenseForever" Version="1.0.117" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeBrix.AssemblyTools.MitLicenseForever" Version="1.0.117" />
                    
Directory.Packages.props
<PackageReference Include="CodeBrix.AssemblyTools.MitLicenseForever" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CodeBrix.AssemblyTools.MitLicenseForever --version 1.0.117
                    
#r "nuget: CodeBrix.AssemblyTools.MitLicenseForever, 1.0.117"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CodeBrix.AssemblyTools.MitLicenseForever@1.0.117
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CodeBrix.AssemblyTools.MitLicenseForever&version=1.0.117
                    
Install as a Cake Addin
#tool nuget:?package=CodeBrix.AssemblyTools.MitLicenseForever&version=1.0.117
                    
Install as a Cake Tool

CodeBrix.AssemblyTools

A fully managed, cross-platform .NET-assembly reading / writing / rewriting library for .NET. CodeBrix.AssemblyTools is a .NET-10 port of Mono.Cecil 0.11.6 — the same public API surface (renamed into the CodeBrix.AssemblyTools.* namespace), the same IL / metadata / PDB / MDB capabilities, and no NuGet dependencies beyond .NET itself. CodeBrix.AssemblyTools has no dependencies other than .NET, and is provided as a .NET 10 library and associated CodeBrix.AssemblyTools.MitLicenseForever NuGet package.

CodeBrix.AssemblyTools supports applications and assemblies that target Microsoft .NET version 10.0 and later. Microsoft .NET version 10.0 is a Long-Term Supported (LTS) version of .NET, and was released on Nov 11, 2025; and will be actively supported by Microsoft until Nov 14, 2028. Please update your C#/.NET code and projects to the latest LTS version of Microsoft .NET.

CodeBrix.AssemblyTools supports:

  • Reading and writing managed assemblies (AssemblyDefinition, ModuleDefinition)
  • Inspecting and modifying types, methods, fields, properties, events, and custom attributes
  • Reading and emitting IL via MethodBody / ILProcessor
  • Reading and writing portable PDB debug symbols (CodeBrix.AssemblyTools.Cil, CodeBrix.AssemblyTools.Pdb)
  • Reading and writing native Windows PDB symbols (CodeBrix.AssemblyTools.Pdb.Cci)
  • Reading and writing Mono MDB debug symbols (CodeBrix.AssemblyTools.Mdb)
  • Extension-method "rocks" for common tasks: GetAllTypes, SimplifyMacros, OptimizeMacros, SortInterfaces, and more (CodeBrix.AssemblyTools.Rocks)

Sample Code

Open an assembly, rename it, and write it back out

using CodeBrix.AssemblyTools;

using var assembly = AssemblyDefinition.ReadAssembly("Input.dll");
assembly.Name.Name = "Renamed";
assembly.Write("Output.dll");

Walk every method in a module

using CodeBrix.AssemblyTools;
using CodeBrix.AssemblyTools.Cil;

using var module = ModuleDefinition.ReadModule("Input.dll");
foreach (var type in module.Types)
    foreach (var method in type.Methods)
        if (method.HasBody)
            foreach (Instruction instruction in method.Body.Instructions)
                Console.WriteLine($"{method.FullName}: {instruction}");

License

The project is licensed under the MIT License. see: https://en.wikipedia.org/wiki/MIT_License

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.117 102 4/29/2026