mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Application window doesn't open after packaging #473
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 @eqap-melvinr on GitHub (Apr 2, 2020).
Originally assigned to: @GregorBiswanger on GitHub.
.NET Core 3.1
The command prompt window opens but the application doesn't.
Steps to Reproduce:
@GregorBiswanger commented on GitHub (Apr 17, 2020):
Can you provide me your application with source code if necessary?
The current version works without problems for us.
@ipax77 commented on GitHub (May 4, 2020):
Some users of my app do have the same problem – it is stuck at:
On my Desktop and a virtual machine it is working fine, but I was able to repoduce it on my laptop (all (Win10 64)
The code is available here here
but I have the same result (desktop/virtual machine ok, laptop nok) with a clean asp dotnet core blazor app using
ElectronNET.API & ElectronNET.CLI Version 8.31.1
electron-builder Version 22.6.0 using electronize build /target win
dotnet Version3.1.201
I reverted back to ElectronNET.API & ElectronNET.CLI Version 7.30.2 and it is working as expected on my laptop.
@drozdzamadeusz commented on GitHub (May 8, 2020):
Any updates on this issue? A have exactly the same problem, after upgrade to version 8 program starts normally only on my desktop, on any other computer electron crashes/freezes on splash screen.
@GregorBiswanger commented on GitHub (May 8, 2020):
@ipax77 I try to start your project with VS2019 and get an error:

@drozdzamadeusz can you provide me with your project or can you reproduce it please?
@GregorBiswanger commented on GitHub (May 8, 2020):
@ipax77 FYI

@ipax77 commented on GitHub (May 8, 2020):
@GregorBiswanger fixed the sln file, sry.
I was able to reproduce it with the clean sample dotnet core blazor project, too (with counter and weatherforcast).
@drozdzamadeusz commented on GitHub (May 9, 2020):
@GregorBiswanger yes of course, here is source of my project: https://github.com/drozdzamadeusz/talker-app
@drozdzamadeusz commented on GitHub (May 9, 2020):
@GregorBiswanger I figured out that to run application every user has to have NET Core 3.1 SDK installed. I have no idea why this situation occurs, before update to 8.31.1 application started normally on computers without NET SDK installed.
@GregorBiswanger commented on GitHub (May 9, 2020):
@ipax77 I think @drozdzamadeusz is right here.. it is no longer produced as self contained.. I can't say where that comes from... that must have slipped in with a pull request.. I will change and test it locally.. if then everything works, it will be released immediately for update 8.31.2.
@GregorBiswanger commented on GitHub (May 9, 2020):
Okay, will be fixed with Electron.NET 8.31.2...
@GregorBiswanger commented on GitHub (May 9, 2020):
Fixed and will be available with update 8.31.2.