dotnet-mergenupkg 2.4.0

Merge dependencies of two nupkg packages

Install-Package dotnet-mergenupkg -Version 2.4.0
dotnet add package dotnet-mergenupkg --version 2.4.0
paket add dotnet-mergenupkg --version 2.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Merge two nuget package dependencies

Useful to add .NET Core dependencies (assemblies, nuspec deps, tools) built with .NET Core Sdk inside
an existing .nupkg

dotnet mergenupkg --source a.nupkg --other b.nupkg --framework netstandard2.0

The above command will modify the package a.nupkg adding the package dependencies and files (assemblies, xmldoc) for target framework netstandard2.0 from package b.nupkg

see dotnet mergenupkg --help for more info

Usage

Add it as .NET CLI tool

  <ItemGroup>
    <DotNetCliToolReference Include="dotnet-mergenupkg" Version="2.*" />
  </ItemGroup>

After a restore, can be invoked from same directory with

dotnet mergenupkg --help

NOTE like every .net cli tool, must run in msbuild project file directory where is declared.
So if you run it from a build script, change the current directory before execute the command.

Merge two nuget package dependencies

Useful to add .NET Core dependencies (assemblies, nuspec deps, tools) built with .NET Core Sdk inside
an existing .nupkg

dotnet mergenupkg --source a.nupkg --other b.nupkg --framework netstandard2.0

The above command will modify the package a.nupkg adding the package dependencies and files (assemblies, xmldoc) for target framework netstandard2.0 from package b.nupkg

see dotnet mergenupkg --help for more info

Usage

Add it as .NET CLI tool

  <ItemGroup>
    <DotNetCliToolReference Include="dotnet-mergenupkg" Version="2.*" />
  </ItemGroup>

After a restore, can be invoked from same directory with

dotnet mergenupkg --help

NOTE like every .net cli tool, must run in msbuild project file directory where is declared.
So if you run it from a build script, change the current directory before execute the command.

Version History

Version Downloads Last updated
2.4.0 1,693 10/4/2018
2.3.1 4,413 9/12/2018
2.3.0 107 9/6/2018
2.2.2 8,540 12/24/2017
2.2.1 223 12/24/2017
2.2.0 233 12/22/2017
2.1.0 2,964 9/29/2017
2.0.0 570 9/1/2017
1.0.1 11,012 7/18/2016
1.0.0 437 6/29/2016
0.10.2 650 5/20/2016
0.10.1 383 5/20/2016
0.10.0 341 5/20/2016
0.9.9 489 4/7/2016
0.9.8 367 4/7/2016