dotnet-warp
1.1.0
dotnet tool install --global dotnet-warp --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local dotnet-warp --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-warp&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-warp --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
dotnet-warp
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-warp
Usage
Usage: dotnet-warp [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.
-p|--property Optional. Pass any additional MSBuild properties to 'dotnet publish' command.
Examples
Packs project in current directory to single executable using Warp.
$ dotnet-warp
Links project before packing using ILLink.Tasks
$ dotnet-warp -l aggressive
$ dotnet-warp -p:Version=2.0.1
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. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. 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.