Last active
August 5, 2022 16:30
-
-
Save baronfel/dd45c903317b97dd02e955a5ed253eca to your computer and use it in GitHub Desktop.
Potential `dotnet pack` help output for nuspecs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ dotnet pack --help | |
Description: | |
Create NuGet packages out of .NET projects or Nuspec files. | |
Usage: | |
dotnet pack [<PROJECT | SOLUTION>...] [Project Packing Options] | |
dotnet pack <NUSPEC> [Nuspec Packing Options] | |
Arguments: | |
<PROJECT | SOLUTION> A project or solution file to operate on. If a file is not specified, the command will search the current directory for one. | |
<NUSPEC> A .nuspec file describing how to create a NuGet package. In this mode, no project file is required. | |
Project Packing Options: | |
--no-build Do not build the project before packing. Implies --no-restore. | |
--include-source Include PDBs and source files. Source files go into the 'src' folder in the resulting nuget package. | |
-s, --serviceable Set the serviceable flag in the package. See https://aka.ms/nupkgservicing for more information. | |
--nologo Do not display the startup banner or the copyright message. | |
--interactive Allows the command to stop and wait for user input or action (for example to complete authentication). | |
--no-restore Do not restore the project before building. | |
--version-suffix <VERSION_SUFFIX> Set the value of the $(VersionSuffix) property to use when building the project. | |
--use-current-runtime Use current runtime as the target runtime. | |
Nuspec Packing Options: | |
-p, --property [KEY=VALUE] Replaces the given KEY in the .nuspec with VALUE. | |
Global Options: | |
-o, --output <OUTPUT_DIR> The output directory to place built packages in. | |
--include-symbols Include packages with symbols in addition to regular packages in output directory. | |
-c, --configuration <CONFIGURATION> The configuration to use for building the package. The default is 'Debug'. Use the `PackRelease` property to make 'Release' the default for this command. | |
-v, --verbosity <LEVEL> Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. | |
-?, -h, --help Show command line help. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment