Skip to content

zvirja/dotnet-pack-local

Repository files navigation

Build status Nuget version

dotnet-build-local

It's a dotnet tool to pack project to a local NuGet repo. It takes care of package version to make sure that it steadily increases. Additionally it packs symbols into the final package for Debug builds

Installation

Tool is distributed as a dotnet tool. To install it you should have .NET Core 3.1 installed (or above). Then run the following command:

dotnet tool install -g dotnet-pack-local

Update

To update the tool, run:

dotnet tool update -g dotnet-pack-local

Run dotnet-pack-local --version to check installed version.

Usage

To run the tool just navigate to a directory which is a part of the repo (usual repository root), open command line and run the tool by name:

dotnet-pack-local

Run tool with --help flag to see all the supported commands and flags.

Options

Run the tool with --help or just -h flag to see the possible options.