mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[CLI] /absolute-path or /relative-path do not change output location #393
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @robertmclaws on GitHub (Oct 10, 2019).
Originally assigned to: @robertmuehsig on GitHub.
Version
Platform
Issue Details
Entering the following path into the build process does not change how the project is built:
..\tools\electronize.exe build /target win /absolute-path '$(Build.ArtifactStagingDirectory)\Windows'Looking into the source code for the CLI, it looks like these lines do indeed set the path that the
electron-buildershould use, but then the actual builder command uses the path calculated for the internaldotnet buildcommand:Steps to Reproduce:
$(Build.SourcesDirectory)/CloudNimble.AzureDevOpsBuddy.Server@robertmclaws commented on GitHub (Nov 28, 2019):
@GregorBiswanger Any chance this could get in the 7.30 release too? Should be a quick fix, it's just using the
tempPathat the very end instead ofbuildPath.Thanks!
@GregorBiswanger commented on GitHub (Nov 28, 2019):
@robertmclaws I can not promise yet. @robertmuehsig is normally responsible for the CLI...
@GregorBiswanger commented on GitHub (May 10, 2020):
I see we have an relative-path param...
Use:
electronize build /target win /relative-path "YOUR PATH"