Electron Project exe does not exist in desktop folder
ElectronNET.API version 13.5.1 Electron Cli version 13.5.1
.net core 5.0
Windows 10
Steps to Reproduce:
- run electronize /target win
- It builds fine
- If I look in bin there is no Desktop folder
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.
Can you please include your electron.manifest.json file
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": [ "**/*" ] }, "**/*" ] } }
Hi. I solved the same problem by updating nodejs and electron.
🎉🚀 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!