App is running but no screen #849

Closed
opened 2026-01-29 16:50:04 +00:00 by claunia · 1 comment
Owner

Originally created by @DrBenvey on GitHub (Feb 16, 2023).

Originally assigned to: @GregorBiswanger on GitHub.

  1. I took the project from https://github.com/ElectronNET/Electron.NET.git and build ElectronNET.CLI with net7.0, because electronize derived from (dotnet tool install ElectronNET.CLI -g) works with with net5.0, witch is didn't support any more:
You must install or update .NET to run this application.

App: /home/vboxuser/.dotnet/tools/electronize
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '5.0.0' (x64)
.NET location: /usr/share/dotnet

The following frameworks were found:
  7.0.3 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=x64&rid=ubuntu.22.04-x64
  1. I build my project on linux Ubuntu 22.04 (./../../dotnet-electronize/dotnet-electronize start /clear-cache,
    ./../../dotnet-electronize/dotnet-electronize build /target linux)
    I see consol- it is ok, I can see app running in browser (http://localhost:8001)
    but Window didn't appears (such a problem not only with my project but also with other template (for ex: https://github.com/bsonnino/MvcElectron.git))
  2. node js - 18.14.0; dotnet 7.0.200; ElectronNET.API 13.5.1

Is it a bug or i do smth wrong?

(when I build a project for windows from windows every thing works fine out of box (dotnet tool install ElectronNET.CLI -g;electronize start;electronize build /target win))

Screenshot from 2023-02-16 17-45-53

as an option, I can create a virtual machine with linux wich supports sdk net 5(ubuntu 20.04 for ex (https://www.makeuseof.com/install-dotnet-5-ubuntu-linux/)), and build the project on it, but this is unreasonably long and slows down development

Originally created by @DrBenvey on GitHub (Feb 16, 2023). Originally assigned to: @GregorBiswanger on GitHub. 1) I took the project from https://github.com/ElectronNET/Electron.NET.git and build ElectronNET.CLI with net7.0, because electronize derived from (dotnet tool install ElectronNET.CLI -g) works with with net5.0, witch is didn't support any more: ```` You must install or update .NET to run this application. App: /home/vboxuser/.dotnet/tools/electronize Architecture: x64 Framework: 'Microsoft.NETCore.App', version '5.0.0' (x64) .NET location: /usr/share/dotnet The following frameworks were found: 7.0.3 at [/usr/share/dotnet/shared/Microsoft.NETCore.App] Learn about framework resolution: https://aka.ms/dotnet/app-launch-failed To install missing framework, download: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=x64&rid=ubuntu.22.04-x64 ```` 2) I build my project on linux Ubuntu 22.04 (./../../dotnet-electronize/dotnet-electronize start /clear-cache, ./../../dotnet-electronize/dotnet-electronize build /target linux) I see consol- it is ok, I can see app running in browser (http://localhost:8001) but Window didn't appears (such a problem not only with my project but also with other template (for ex: https://github.com/bsonnino/MvcElectron.git)) 3) node js - 18.14.0; dotnet 7.0.200; ElectronNET.API 13.5.1 Is it a bug or i do smth wrong? (when I build a project for windows from windows every thing works fine out of box (dotnet tool install ElectronNET.CLI -g;electronize start;electronize build /target win)) ![Screenshot from 2023-02-16 17-45-53](https://user-images.githubusercontent.com/48998000/219397701-973e9f8c-a1a1-4cb7-950d-33deaedf633a.png) as an option, I can create a virtual machine with linux wich supports sdk net 5(ubuntu 20.04 for ex (https://www.makeuseof.com/install-dotnet-5-ubuntu-linux/)), and build the project on it, but this is unreasonably long and slows down development
claunia added the bug label 2026-01-29 16:50:04 +00:00
Author
Owner

@GregorBiswanger commented on GitHub (Mar 28, 2023):

🎉🚀 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 commented on GitHub (Mar 28, 2023): 🎉🚀 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#849