Skip to content

How to upgrade existing app to new ElectronNET.API? #299

Open
@win32nipuh

Description

@win32nipuh

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
\obj\Host\node_modules.bin
It contains less files than usually.


How to fix it:

  1. Delete the folder \obj\Host.
  2. Uninstall global packages with

npm uninstall electron electron-builder --global

After these actions:

electronize start
and app runs successfully(!)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions