mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Add the ability to skip running dotnet publish so that we can call that in our build scripts. #562
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 @Delpire on GitHub (Sep 1, 2020).
Originally assigned to: @GregorBiswanger on GitHub.
We have the need to do some things to our assemblies before we want to packaged them up in an Electron app. For example, digitally signing the files.
It would be nice if we could tell
electronize buildto skip runningdotnet publishand do the rest. This way I can rundotnet publishmyself, with all the necessary arguments, then do my post build/publish work to my files, then callelectronize buildto build the Electron application.Looking at the Electron CLI, it looks like there is no way to skip the publish step, so I believe all of my assemblies will get overwritten.
@GregorBiswanger commented on GitHub (Mar 28, 2023):
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!
@ayeshap20 commented on GitHub (May 10, 2024):
@GregorBiswanger @Delpire I am using ElectronNET.API v23.6.2.0 and .NET 6 and trying to skip dotnet publish in electronize build but I'm not sure how to do this. The code here does not seem to skip the dotnet publish step ever:
21c17dc82b/src/ElectronNET.CLI/Commands/BuildCommand.cs (L142)