SharpILMixins is a trait/mixin and IL weaving framework for C# using dnLib
SharpILMixins is a trait/mixin and IL weaving framework for C# using dnLib.
SharpILMixins has a processor tool that can apply Mixins made with SharpILMixins.
Help output:
SharpILMixins.Processor
Copyright (C) 2020 NickAcPT
process, p (Default Verb) Offline process Mixins
generate, g Generate helper code to work with Mixins
help Display more information on a specific command.
version Display version information.
The processor is a DotNet Global Tool.
To install, run the following command on the Terminal of your choice:
dotnet tool install --global SharpILMixins.Processor
To update, run the following command on the Terminal of your choice:
dotnet tool update --global SharpILMixins.Processor
SharpILMixins provides a project template with the NuGet Package Id SharpILMixin.Template
(NuGet Page) .
To install the template with dotnet new
, run the following command on the Terminal of your choice:
dotnet new -i SharpILMixin.Template
Then, you can create a new project with this template by running the following command:
dotnet new sharpilmixins [-na <namespace>] [-t <target name>] [-o <output folder>]
More information:
Mixin with SharpILMixins
Author: NickAc
Options:
-na|--namespace
string - Optional
Default: SharpILMixins.Template
-t|--target
string - Optional
Default: MixinTarget.dll
This project does not support runtime detouring. The aim is to allow the user to modify their .NET Assemblies and do an offline replacement of the original files.