Allow electronize build to publish as release and not always as debug #106

Closed
opened 2026-01-29 16:31:04 +00:00 by claunia · 4 comments
Owner

Originally created by @Bunabun on GitHub (Jan 5, 2018).

Originally assigned to: @robertmuehsig on GitHub.

By default the command dotnet publish uses the debug configuration unless it was told to use release using the syntax -c|--configuration {Debug|Release}. An option for the configuration should be added to the command dotnet electronize build. Some more in depth argument parsing should be used to support things like using dotnet electronize build -c Release -r win or dotnet electronize build -r win -c release

Originally created by @Bunabun on GitHub (Jan 5, 2018). Originally assigned to: @robertmuehsig on GitHub. By default the command `dotnet publish` uses the debug configuration unless it was told to use release using the syntax `-c|--configuration {Debug|Release}`. An option for the configuration should be added to the command `dotnet electronize build`. Some more in depth argument parsing should be used to support things like using `dotnet electronize build -c Release -r win` or `dotnet electronize build -r win -c release`
claunia added the Feature label 2026-01-29 16:31:04 +00:00
Author
Owner

@robertmuehsig commented on GitHub (Jan 22, 2018):

Good idea! Will take a look at it. Note to myself:
Currently we don't specify any configuration - see here

@robertmuehsig commented on GitHub (Jan 22, 2018): Good idea! Will take a look at it. Note to myself: Currently we don't specify any configuration - see [here](https://github.com/ElectronNET/Electron.NET/blob/master/ElectronNET.CLI/Commands/BuildCommand.cs#L52)
Author
Owner

@AirLancer commented on GitHub (Feb 5, 2018):

Are you open for some help on this?
If you have a specific solution or implementation in mind I'd work it in.

@AirLancer commented on GitHub (Feb 5, 2018): Are you open for some help on this? If you have a specific solution or implementation in mind I'd work it in.
Author
Owner

@robertmuehsig commented on GitHub (Feb 6, 2018):

I hope to fix it in this week.

@robertmuehsig commented on GitHub (Feb 6, 2018): I hope to fix it in this week.
Author
Owner

@robertmuehsig commented on GitHub (Feb 19, 2018):

Fixed with 0.0.9 - the default now is release, but the build-command accepts a new argument called /dotnet-configuration with debug or release or whatever you want.

@robertmuehsig commented on GitHub (Feb 19, 2018): Fixed with 0.0.9 - the default now is release, but the build-command accepts a new argument called /dotnet-configuration with debug or release or whatever you want.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#106