mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Application crashes on start #959
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 @boroneaionut on GitHub (Aug 1, 2024).
.NET 8, Node.js 20.13.0
I am using Azure DevOps pipelines to build and deploy the application to a VM. When I start the application on the VM, it almost instantly crashes. I can see the CPU usage jumping to 100% and then the process stops. The same application built on my local machine and then copied to the VM works correctly. The pipeline is configured to use the exact configuration as my local machine (except for the Windows version).
The crash is likely related to electron because the application is configured to run DB migrations before creating the Electron window, which are successfully applied.
I figure the issue might be related to environment differences. Could it be an issue with building the application on Windows Server?
Any help is appreciated.
Thanks!
Here is the log from the Event Viewer:
Program.cs
Steps to Reproduce: