MonkeyLoader.ReferencePackageGenerator 1.0.0

dotnet tool install --global MonkeyLoader.ReferencePackageGenerator --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local MonkeyLoader.ReferencePackageGenerator --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MonkeyLoader.ReferencePackageGenerator&version=1.0.0
                    
nuke :add-package MonkeyLoader.ReferencePackageGenerator --version 1.0.0
                    

MonkeyLoader Reference Package Generator

This MonkeyLoader tool allows generating stripped and / or publicized reference assemblies to distribute for modding purposes in particular. Optionally, NuGet packages can be created from them as well, including uploading them NuGet feeds automatically.

Various configuration options for which assemblies to include and how to version them are available.

Usage

dotnet tool ReferencePackageGenerator configPaths...

There can be any number of config paths, which will be handled one by one. Missing config files will be generated.

Config

Sample json config with all options:

{
  "SourcePaths": [ "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Game" ],
  "DocumentationPaths": [ "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Game" ],
  "Recursive": false,
  "StrippedAssembliesTargetPath": "Stripped",
  "PublicizedAssembliesTargetPath": "Publicized",
  "IgnoreAccessChecksToPath": "IgnoreAccessChecksTo",
  "NupkgTargetPath": "Packages",
  "IncludePatterns": [
    "^Assembly-CSharp.dll$",
    "Game.*.dll$"
  ],
  "ExcludePatterns": [
    "Microsoft\\..+",
    "System\\..+",
    "Mono\\..+",
    "UnityEngine\\..+"
  ],
  "VersionBoost": "0.0.6.7",
  "VersionOverrides": {
    "Assembly-CSharp.dll": "1.0.4.2"
  },
  "PublishTarget": {
    "Source": "https://nuget.pkg.github.com/Me/index.json",
    "ApiKey": "ghp_xxxx",
    "Publish": true
  },
  "PackageIdPrefix": "Me.",
  "TargetFramework": "net10.0",
  "Authors": [
    "Game Publisher",
    "Me"
  ],
  "Tags": [ "Game", "stripped", "public", "reference", "assembly", "assemblies" ],
  "IconPath": "Icons\\GameIcon.png",
  "IconUrl": "https://raw.githubusercontent.com/Me/GameReferencePackages/main/Icons/GameIcon.png",
  "ProjectUrl": "https://github.com/Me/ReferencePackages",
  "RepositoryUrl": "https://github.com/Me/ReferencePackages.git"
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.

This package has no dependencies.

Version Downloads Last Updated
1.0.0 94 1/16/2026