Skip to content

Pass configuration profile to electronize #407

@nazar322

Description

@nazar322

I work on a cross-platform project that supposes to run on both Mac and Windows. To avoid code duplicates I have classes that mostly share the same code but might have platform-specific areas that I distinct from the rest of the code with #if WINDOWS for instance. Then I have created configuration profiles for each Windows and Mac builds that define symbols I need to compile my project for the platform I need.
The problem with electronize is that I cannot pass my configuration profile and therefore, because my code dependent on predefined symbols, dotnet publish fails to build my project.
Please add a command argument to pass the configuration profile to both electronize build and electronize start commands.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions