dotnet-pack
1.0.2
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet tool install --global dotnet-pack --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local dotnet-pack --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-pack&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-pack --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Global .NET Core tool, which allows to pack .NET Core projects to single executable.
In fact it's just a wrapper around Warp (https://github.com/dgiagio/warp) and ILLink.Tasks.
Supported environments are same as Warp: win-x64, linux-x64, osx-x64
Install
$ dotnet tool install --global dotnet-depends
Usage
Usage: dotnet-pack [arguments] [options]
Arguments:
ProjectFolder Project path.
Options:
-l|--link-level <LEVEL> Optional. Sets link level. Available values: Normal, Aggressive.
-nc|--no-crossgen Optional. Disables Cross Gen during publish when linker is enabled. Sometimes required for linker to work. See issue: https://github.com/mono/linker/issues/314
-v|--verbose Optional. Enables verbose output.
Examples
Packs project in current directory to single executable using Warp.
$ dotnet-pack
Links project before packing using ILLink.Tasks
$ dotnet-pack -l aggressive
Aggressive option sets /p:RootAllApplicationAssemblies=false during publish. More info
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|