Pack fails when output is specified
Closed this issue · 1 comments
clmcgrath commented
when running this tool with an output directory the packer step fails with no useful error given
Running dotnet publish -c Release -r win-x64 -o "D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI\dotnetwarp_temp" /p:ShowLinkerSizeComparison=true "D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI"
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 46.55 ms for D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI\DigitalParadoxCLI.csproj.
DigitalParadoxCLI -> D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI\bin\Release\netcoreapp2.2\win-x64\DigitalParadoxCLI.dll
DigitalParadoxCLI -> D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI\dotnetwarp_temp\
Running Pack...
Running C:\Users\Chris McGrath\.dotnet\tools\.store\dotnet-warp\1.0.5\dotnet-warp\1.0.5\tools\netcoreapp2.2\any\warp\windows-x64.warp-packer.exe --arch windows-x64 --input_dir "D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI\dotnetwarp_temp" --exec "DigitalParadoxCLI.exe" --output "..\..\artifacts\warp\win-x64\cli.exe"
Compressing input directory "D:\\dev\\GithubReleaseNotes\\src\\DigitalParadoxCLI\\dotnetwarp_temp"...
Creating self-contained application binary "..\\..\\artifacts\\warp\\win-x64\\cli.exe"...
Saved binary to "..\..\artifacts\warp\win-x64\cli.exe"
Pack failed. Set --verbose flag for more info.
same command without - o works fine and writes exe to project root (or cwd?)
Hubert-Rybak commented
It looks like Warp is failing internally, as it returns non zero exit code. Have you tried the latest version of dotnet-warp ?