Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

Version 13.1.5 --no-self-contained does not work

Open drowhunter opened this issue 3 years ago • 2 comments

Electron Version 13.5.1

.Net Core 6 NodeJS 16.16.1

  • Target: windows

runs with --self-contained

Steps to Reproduce:

dotnet tool run electronize build /target win /dotnet-publish --no-self-contained

Produces the following output

Build Electron Application...
Arguments:
        target = win
        dotnet-publish = --no-self-contained
Build ASP.NET Core App for win-x64...
Executing dotnet publish in this directory: C:\_src\myapp\obj\desktop\win
Build ASP.NET Core App for win-x64 under Release-Configuration...
dotnet publish -r win-x64 -c "Release" --output "C:\_src\myapp\obj\desktop\win\bin" /p:PublishReadyToRun=true /p:PublishSingleFile=true --self-contained

drowhunter avatar Jul 18 '22 05:07 drowhunter

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.cli installs 13.5.1 which is before /dotnet-publsh was added.

when will a new build be released?

drowhunter avatar Jul 18 '22 06:07 drowhunter

Hi @drowhunter, here is the issue that talks about the new version -> #710

m3nax avatar Jul 19 '22 06:07 m3nax

🎉🚀 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!

GregorBiswanger avatar Mar 28 '23 10:03 GregorBiswanger