Hubert-Rybak/dotnet-warp

1.0.6 fails with “Output should contain full path to file”

atifaziz opened this issue · 3 comments

Up to version 1.0.4, running dotnet warp in a folder with a project simply worked. Updating to 1.0.6 now fails with the message:

Output should contain full path to file.
Specify --help for a list of available options and commands.

Running with --help switch displays:

Packs project to single binary, with optional linking.

Usage: dotnet-warp [arguments] [options]

Arguments:
  ProjectFileOrFolder      Project path.

Options:
  -r|--rid <RID>           Optional. Sets RID passed to dotnet publish. Defaults to current portable RID (win-x64, linux-x64, osx-x64).
  -l|--link-level <LEVEL>  Optional. Enables linking with desired level. Available values: Normal, Aggressive. Aggressive means, that application assemblies will not be rooted, and can also be trimmed.
  -nc|--no-crossgen        Optional linker option. Disables Cross Gen during publish. Sometimes required for linker to work. See issue: https://github.com/mono/linker/issues/314
  -o|--output              Optional. Output exe path. Defaults to current directory + assembly name.
  -v|--verbose             Optional. Enables verbose output.
  -?|-h|--help             Show help information

Usage says arguments is optional and so is -o.

Sorry my bad. Fixed in 1.0.7

Thanks! Works again as advertised! 👍

BTW, latest commit (5e9ad3d) still points to 1.0.6. Did you forget to push your changes that went into 1.0.7?