MrJul / Numerge

Nuget package merging utiility

Repository from Github https://github.comMrJul/NumergeRepository from Github https://github.comMrJul/Numerge

A tool for merging nuget packages

Usage: Numerge.exe <config> <directory_with_packages> <output_directory>

Config example:

{
  "Packages":
  [
    {
      "Id": "Avalonia",
      "MergeAll": true,
      "Exclude": ["Avalonia.Remote.Protocol"],
      "Merge": [
        {
          "Id": "Avalonia.Build.Tasks",
          "IgnoreMissingFrameworkBinaries": true,
          "DoNotMergeDependencies": true
        },
        {
          "Id": "Avalonia.DesktopRuntime",
          "IgnoreMissingFrameworkBinaries": true,
          "IgnoreMissingFrameworkDependencies": true
        }

      ]
    }
  ]
}

The functionality is currently limited to the needs of Avalonia project. PRs are welcome.

The list of known problems so far:

  • netstandard2.0 is assumed to be the only .NET Standard that fits all frameworks
  • package parsing/saving is very naive

About

Nuget package merging utiility

License:MIT License


Languages

Language:C# 100.0%