mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Pass configuration profile to electronize #494
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 @nazar322 on GitHub (May 19, 2020).
Originally assigned to: @GregorBiswanger on GitHub.
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 WINDOWSfor 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
electronizeis that I cannot pass my configuration profile and therefore, because my code dependent on predefined symbols,dotnet publishfails to build my project.Please add a command argument to pass the configuration profile to both
electronize buildandelectronize startcommands.