mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
ERR_ELECTRON_BUILDER_CANNOT_EXECUTE when trying to build a desktop app for Ubunto #883
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 @sam-wheat on GitHub (Apr 25, 2023).
I believe I am having a similar problem to what is found here and here. The error message I get is different so I will write a new issue. My goal is to produce a desktop app that will run on Linux. Per this issue I think what I am doing is supported.
Environment:
Windows 10 22H2 19045.2846
Visual Studio 2022 / latest
Unbutu running on WSL2 same physical machine as Windows
dotnet, node and x11 are installed. xeyes/gedit runs correctly.
My app is Hello World, only mods from default Blazor template are to install Electron.Net
Electron.Net versions 23.6.1 and 23.6.2-alpha-13 - both give same result.
Steps to reproduce
On Windows open command line in .csproj folder:
This works fine - Blazor runs in an Electron window.
In same command window:
Despite the above error msg binaries are still produced in
bin\Desktop\linux-unpacked\resources\bin.Copy files in folder above to home folder in WSL file subsystem. In my case this is
\\wsl.localhost\Ubuntu\home\sam\stuff\BlazorServerTest1In a terminal window on the Linux VM run the following:
Am I supposed to have a HTTP server runing on the Linux machine? Error message references files on my windows machine.... IDK why.