Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application window doesn't open after packaging #387

Closed
eqap-melvinr opened this issue Apr 2, 2020 · 11 comments
Closed

Application window doesn't open after packaging #387

eqap-melvinr opened this issue Apr 2, 2020 · 11 comments
Assignees
Labels
Milestone

Comments

@eqap-melvinr
Copy link

  • Version: 7.30.2

.NET Core 3.1

  • Target: Windows

The command prompt window opens but the application doesn't.

Steps to Reproduce:

  1. Build using electronize build /target win
  2. Run the exe
@GregorBiswanger GregorBiswanger self-assigned this Apr 17, 2020
@GregorBiswanger
Copy link
Member

Can you provide me your application with source code if necessary?

The current version works without problems for us.

@ipax77
Copy link

ipax77 commented May 4, 2020

Some users of my app do have the same problem – it is stuck at:

Electron Socket IO Port: 8000
Electron Socket started on port 8000 at 127.0.0.1
ASP.NET Core Port: 8001

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
Copy link

drozdzamadeusz commented 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
Copy link
Member

@ipax77 I try to start your project with VS2019 and get an error:
image

@drozdzamadeusz can you provide me with your project or can you reproduce it please?

@GregorBiswanger
Copy link
Member

@ipax77 FYI
image

@ipax77
Copy link

ipax77 commented 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
Copy link

@GregorBiswanger yes of course, here is source of my project: https://github.com/drozdzamadeusz/talker-app

@drozdzamadeusz
Copy link

@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
Copy link
Member

@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.

image

@GregorBiswanger GregorBiswanger added this to the 8.31.2 milestone May 9, 2020
@GregorBiswanger
Copy link
Member

Okay, will be fixed with Electron.NET 8.31.2...

image

@GregorBiswanger
Copy link
Member

Fixed and will be available with update 8.31.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants