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

Freezing on splash screen and transport close

Open Islam-alshiki opened this issue 1 year ago • 5 comments

Which version of Electron.NET CLI and API are you using?

  • [23.6.1]
  • [13.5.1]

Please always try to use latest version before report.

  • Version: [23.6.1]

Which version of .NET Core and Node.js are you using (if applicable)? Net : net6.0 node : v19.3.0

What target are you building for? I'm still in debugging.

Enter your issue details below this comment: When I electronize start my app it stops on the splash screen that AlwaysOnTop
with last version [23.6.1]

ASP.NET Core Application connected... global.electronsocket iun7Rb9ogq_V97uPAAAA 2023-04-06T01:01:17.850Z
ASP.NET Core Application connected... global.electronsocket iun7Rb9ogq_V97uPAAAA 2023-04-06T01:01:19.902Z
ASP.NET Core Application connected... global.electronsocket iun7Rb9ogq_V97uPAAAA 2023-04-06T01:01:19.915Z
Got disconnect! Reason: transport close
Got disconnect! Reason: forced close

When I tried [13.5.1], the window appears.

Islam-alshiki avatar Apr 06 '23 01:04 Islam-alshiki

In version 23: clear the BIN and OBJ folders. Run - "Clear Solution" and "Build Solution". Only after that Build the desktop application.

IgorVolod avatar Apr 06 '23 04:04 IgorVolod

You also need the latest Electron.NET CLI.

Please update these as well. dotnet tool update ElectronNET.CLI -g

GregorBiswanger avatar Apr 06 '23 08:04 GregorBiswanger

You also need the latest Electron.NET CLI.

Please update these as well. dotnet tool update ElectronNET.CLI -g

It worked very well

thirking avatar Dec 12 '23 06:12 thirking

Hi, Electron.NET API-23.6.1 Electron.NET CLI -23.6.1 Framework - net6.0 node :16.15.0

code:

public async void ElectronBootstrap() { //AddDevelopmentTests();

var browserWindow = await Electron.WindowManager.CreateWindowAsync(new BrowserWindowOptions
{
    Width = 1152,
    Height = 940,
    Show = false
});

await browserWindow.WebContents.Session.ClearCacheAsync();

browserWindow.OnReadyToShow += () => browserWindow.Show();
browserWindow.SetTitle(Configuration["DemoTitleInSettings"]);

} When I try to debug, i get the below error:

error

in the older electron.net api v13.5.1 -> it made use of dependency -> SocketIODotNet

in latest electron.net api v23.6.1 -> it uses SocketIOClient. and i start getting the above error.

please help am i missing something

bella1890alt avatar Jan 29 '24 05:01 bella1890alt

Hi, Electron.NET API-13.5.1 Electron.NET CLI -23.6.1 Framework - net6.0 node :16.15.0

Target ->i am still in debugging.

When I electronize start my app it stops on the splash screen that AlwaysOnTop. Screenshot 2024-01-29 111520

bella1890alt avatar Jan 29 '24 05:01 bella1890alt