Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

Cannot run demo app with latest version.

Open avalon30 opened this issue 3 years ago • 2 comments

  • Version: electronnet.cli (version '11.5.1') | dotnet (version '5.0.300')
  • Target: Microsoft Windows [Version 10.0.17763.1971]

Steps to Reproduce:

Execute in PowerShell (eventually git-bash)

  1. dotnet tool install --global ElectronNET.CLI
  2. git clone https://github.com/ElectronNET/electron.net-api-demos.git
  3. cd electron.net-api-demos
  4. electronize start

Expected result: https://github.com/ElectronNET/electron.net-api-demos/raw/master/screenshot.jpg

Actual result: Hangs on this splash screen https://i.imgur.com/ICjFKi8.png

Log: https://pastebin.com/raw/Qtvfsi9q

Comment: Demo app cannot start with latest version including latest dotnet. This framework seems like an amazing alternative to original Electron.js especially for .Net devs. It needs to be updated to handle latest features and fixes. Currently you're unable to build a project to final exe, so you cannot share your app with the world. Yes, electronize start works, but nothing else. Good question to be ask: Is this project holds some future or not anymore?. Thank you all for your hard work and if possible please to update this project 👍

avalon30 avatar Jun 07 '21 14:06 avalon30

This is the same issue I have with my project (using .net 5.0 / asp.net MVC).

Note: ConfigureServices is called, but not Configure on the asp.net startup class. It just sort of stops.

mgamache avatar Jul 03 '21 16:07 mgamache

I saw the same thing when I upgraded to 13.5.1, but I had also upgraded my other dependencies. After reverting, and updating one at a time, I narrowed it down to Autofac 6.2.0. Not sure if this helps anyone else. Autofac 6.0.0 seems to work fine.

mbparker avatar Aug 17 '21 06:08 mbparker

🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉

With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!

GregorBiswanger avatar Mar 28 '23 15:03 GregorBiswanger