mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Electron Project exe does not exist in desktop folder #698
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 @djrichwz on GitHub (Sep 12, 2021).
Originally assigned to: @GregorBiswanger on GitHub.
ElectronNET.API version 13.5.1
Electron Cli version 13.5.1
.net core 5.0
Windows 10
Steps to Reproduce:
I have tried uninstalling both the API and the Cli with no difference. I went back to 11.5.1 and the same issue was still present.
There is a desktop folder under obj/bin folder but that exe just runs a command prompt but doesn't load the Electron window with my app.
If I run in Visual Studio or use electronize start then the app open in the Electron window it is just when I try to build the final exe.
@tub5 commented on GitHub (Sep 15, 2021):
Can you please include your
electron.manifest.jsonfile@djrichwz commented on GitHub (Sep 15, 2021):
Hi this is my electron.manifest.json I have tried it on multiple projects and it has the same issue on all of them
{ "executable": "BlazorApp", "splashscreen": { "imageFile": "" }, "name": "BlazorApp", "author": "", "singleInstance": false, "environment": "Production", "build": { "appId": "com.BlazorApp.app", "productName": "BlazorApp", "copyright": "Copyright © 2020", "buildVersion": "1.0.0", "compression": "maximum", "directories": { "output": "../../../bin/Desktop" }, "extraResources": [ { "from": "./bin", "to": "bin", "filter": [ "**/*" ] } ], "files": [ { "from": "./ElectronHostHook/node_modules", "to": "ElectronHostHook/node_modules", "filter": [ "**/*" ] }, "**/*" ] } }@serdar-sahin commented on GitHub (Oct 26, 2021):
Hi. I solved the same problem by updating nodejs and electron.
@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!