Skip to content
Nick Loginov edited this page Mar 11, 2024 · 6 revisions

Cecil currently requires .NET Core 3.1 to build and supports two targets:

  • .NET 4.0
  • .NET Standard 2.0

To build Cecil, just run:

dotnet build -c:Release

In order to create a NuGet package locally, you can do:

dotnet build -c:Release
nuget pack Mono.Cecil.nuspec

This will create a file in your repository named Mono.Cecil.(version).nupkg

This file can then be installed like so:

nuget install Mono.Cecil -Source <directory with Mono.Cecil.(version).nupkg> -OutputDirectory <install directory>

This will create a directory Mono.Cecil.(version) in the install directory.