Skip to content

The buildCommand of electronize should allow passing build parameters for dotnet publish #447

@bravecobra

Description

@bravecobra

When publishing a dotnet project you're allowed to pass extra parameters to the msbuild process, like '/p:SemVer=1.2.3', that you can reference in the csproj. However the electronize forces you to publish the dotnet project without these. Just as you can pass extra parameters to the electron-builder, you should be able to pass extra parameters to the dotnet process.

Implementing this would be fairly easy. Just append extra arguments to this line.
https://github.com/ElectronNET/Electron.NET/blob/master/ElectronNET.CLI/Commands/BuildCommand.cs#L108

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions