You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Target:
Mac OS, but later will try for Windows too.
I had perfectly working Blazor app contained in electron, but now I can't figure out how to run it - after updating to dotnet 8.0. I have made a new projects from scratch and have exactly the same behaviour:
After running 'electronize start' - the app is somehow starting as its icon is showing in the dock, but there is now Electron window visible - whatever I do or click. Last line at console after run:
...
ElectronHostHook handling started...
Invoke electron - in dir: /Users/pedropuchalski/Downloads/ElectroBlazorApp/obj/Host/node_modules/.bin
./electron "../../main.js"
2024-02-09 15:01:39.300 Electron[8712:1561502] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Electron Socket IO Port: 8000
Electron Socket started on port 8000 at ::1
ASP.NET Core Port: 8001
I had the same issue and it was due to the app not detecting arm architecture. Try running electronize start /target custom "osx-arm64;mac" (assuming you have the arm SDK installed). You can see my issue in #820.
(everything newest)
NuGet[ ElectronNET.API ] 23.6.1
NuGet[ ElectronNET.CLI] 23.6.1
node.js v20.11.0
Dotnet 8.0.101
Mac OS: 14.2.1 (23C71) - M1 processor.
Mac OS, but later will try for Windows too.
I had perfectly working Blazor app contained in electron, but now I can't figure out how to run it - after updating to dotnet 8.0. I have made a new projects from scratch and have exactly the same behaviour:
After running 'electronize start' - the app is somehow starting as its icon is showing in the dock, but there is now Electron window visible - whatever I do or click. Last line at console after run:
...
ElectronHostHook handling started...
Invoke electron - in dir: /Users/pedropuchalski/Downloads/ElectroBlazorApp/obj/Host/node_modules/.bin
./electron "../../main.js"
2024-02-09 15:01:39.300 Electron[8712:1561502] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Electron Socket IO Port: 8000
Electron Socket started on port 8000 at ::1
ASP.NET Core Port: 8001
So no errors... anything. Example code I use: https://github.com/pedropuchalski/ElectroBlazorApp
fulll StartingLog.txt
The text was updated successfully, but these errors were encountered: