| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
LeXtudio.Metadata.Mutable — a small, reusable library for reading, mutating, and writing .NET assembly metadata and IL. This project consolidates mutable metadata/IL model code so tools like Obfuscar and other consumers can reuse a single, well-tested implementation.
Currently used in both Obfuscar and WXSG projects.
Add the NuGet package from nuget.org (preferred):
dotnet add <your-project>.csproj package LeXtudio.Metadata.Mutable
If you need to test locally before publishing, pack the library and add the local folder as a package source:
dotnet pack src/LeXtudio.Metadata.Mutable/LeXtudio.Metadata.Mutable.csproj -c Release
dotnet nuget add source "src\LeXtudio.Metadata.Mutable\bin\Release" -n local-pkgs
dotnet add <your-project>.csproj package LeXtudio.Metadata.Mutable --source local-pkgs
Build the library (example, net8.0):
dotnet build src/LeXtudio.Metadata.Mutable/LeXtudio.Metadata.Mutable.csproj -f net8.0
Run the tests:
dotnet test tests/LeXtudio.Metadata.Mutable.Tests/LeXtudio.Metadata.Mutable.Tests.csproj
Design notes and rationale: docs/design.md
Note: Some tests exercise net9.0 features and are located under the tests folder.
This repository is licensed under the MIT License — see LICENSE.
| Back | FazBrowse Home | New Git URL |