No description
Find a file
2026-07-19 23:11:04 +02:00
NuGetReferenceGenerator Bump version 2026-07-19 23:11:04 +02:00
.gitignore initial commit 2026-07-19 22:48:39 +02:00
Directory.Build.props Update repository URL 2026-07-19 23:03:59 +02:00
LICENSE.html initial commit 2026-07-19 22:48:39 +02:00
project.slnx initial commit 2026-07-19 22:48:39 +02:00
README.md Update README.md 2026-07-19 23:01:27 +02:00

NuGet Reference Generator

This tool can be used to generate reference packages or assemblies from C# assembly files.

The only dependency of this tool is NuGet.Frameworks for parsing the .NET Framework version of an assembly. All metadata is parsed and written using the built-in APIs of .NET Framework.

Installation

dotnet tool install -g NuGetReferenceGenerator --add-source https://forge.colintimbarndt.de/api/packages/Colin/nuget/index.json

Usage

generate-reference --input assembly.dll --output reference.nupkg
Options:
  --input <assembly.dll> (required)
    Assembly to create a reference of.

  --output <reference.dll/.nupkg> (required)
    Output assembly or package.

  --make-public <true/false>
    Whether to make everything public.

  --description <description>
    NuGet package description. Defaults to assembly description.

  --tags <tags>
    NuGet package tags.

  --version <version>
    NuGet package version.

  --authors <authors>
    NuGet package authors. Defaults to assembly company.

  --copyright <copyright>
    NuGet package tags. Defaults to assembly copyright.

  --readme <readme.md>
    NuGet package readme.

  --icon <icon.png>
    NuGet package icon.

  --dotnet <path>
    DotNet executable.