Electron.NET
Electron.NET copied to clipboard
Freezing on splash screen and transport close
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.
In version 23: clear the BIN and OBJ folders. Run - "Clear Solution" and "Build Solution". Only after that Build the desktop application.
You also need the latest Electron.NET CLI.
Please update these as well.
dotnet tool update ElectronNET.CLI -g
You also need the latest Electron.NET CLI.
Please update these as well.
dotnet tool update ElectronNET.CLI -g
It worked very well
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:
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
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.