NuGet Configuration
This guide explains how to configure NuGet when using BitMono as a NuGet package dependency.
When Configuration is Needed
You need to configure NuGet if you encounter dependency resolution errors when trying to use BitMono packages. This happens when BitMono may use nightly versions of AsmResolver (which we may use when needed for critical fixes) that are only available in a custom feed, not on the default nuget.org.
Configuration Steps
Create NuGet.config in your project root:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="asmresolver-nightly" value="https://nuget.washi.dev/v3/index.json" />
</packageSources>
</configuration>
Restore packages:
dotnet restore
That’s it! Your project should now be able to resolve AsmResolver dependencies.
Available BitMono Packages
Core Packages:
BitMono.API - Core interfaces and abstractions
BitMono.Core - Main obfuscation engine
BitMono.Protections - Protection implementations
BitMono.Shared - Shared utilities and models
Host & Utilities:
BitMono.Host - Application host framework
BitMono.Utilities - Helper functions
BitMono.Obfuscation - High-level obfuscation orchestrator
BitMono.Runtime - Runtime components
Tools:
BitMono.GlobalTool - .NET Global Tool