mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Version 13.1.5 --no-self-contained does not work #812
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 @drowhunter on GitHub (Jul 18, 2022).
Originally assigned to: @GregorBiswanger on GitHub.
Electron Version 13.5.1
.Net Core 6
NodeJS 16.16.1
windows
runs with --self-contained
Steps to Reproduce:
Produces the following output
@drowhunter commented on GitHub (Jul 18, 2022):
I just noticed what is going on. By downloading the source code and building myself, it seems that it works. The latest release that is installed when running
dotnet tool install electronnet.cliinstalls 13.5.1 which is before/dotnet-publshwas added.when will a new build be released?
@m3nax commented on GitHub (Jul 19, 2022):
Hi @drowhunter, here is the issue that talks about the new version -> #710
@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!
@tomshane commented on GitHub (Feb 28, 2025):
I'm using the latest version and no matter what arguments I add in the command line, I can't get rid of automatically added --self-contained parameter.
I tried:
Everytime --self-contained is added to the command:
dotnet publish -r win-x64 -c "Release" --output "C:\Downloads\ReactApp2\ReactApp2.Server\obj\desktop\win\bin" /p:PublishReadyToRun=true /p:PublishSingleFile=true --self-contained