dotnet-warp 1.1.0

Pack .NET Core project to single executable using Warp

dotnet tool install --global dotnet-warp --version 1.1.0
This package contains a .NET Core Global Tool you can call from the shell/command line.

dotnet-warp

NuGet
Build status

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

dotnet-warp

NuGet
Build status

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

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.1.0 897 9/18/2019
1.0.9 3,979 4/30/2019
1.0.8 482 4/6/2019
1.0.7 263 3/26/2019
1.0.5 806 2/19/2019
1.0.4 399 2/8/2019
1.0.3 149 2/7/2019
1.0.2 113 2/7/2019