Electron.NET
Electron.NET copied to clipboard
How to upgrade existing app to new ElectronNET.API?
The problem:
I have an application based on ElectronNET.API 5.22.13 and NET.Core 2.1 (ElectronNET.API requires this version).
The new version ElectronNET.API 5.22.14 is released and I need to upgrade my app to this package. It requires NET Core 2.2. I have changed the NET Core 2.1 -> NET Core 2.2 in the project properties, then updated the ElectronNET.API to 5.22.14. Then try to run
electronize start the app is built but it hangs at >...\obj\Host\node_modules.bin>electron.cmd "....\main.js" what is wrong? I have checked folder <Project>\obj\Host\node_modules.bin It contains less files than usually.
How to fix it:
- Delete the folder <Project>\obj\Host.
- Uninstall global packages with
npm uninstall electron electron-builder --global
After these actions:
electronize start and app runs successfully(!)
Thank you very much for your support!
This still applies, and should definitely have a more prominent place, perhaps in the readme?
This fixed my problem. Thank you very much!