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

Electron Project exe does not exist in desktop folder

Open djrichwz opened this issue 4 years ago • 3 comments

ElectronNET.API version 13.5.1 Electron Cli version 13.5.1

.net core 5.0

Windows 10

Steps to Reproduce:

  1. run electronize /target win
  2. It builds fine
  3. 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.

djrichwz avatar Sep 12 '21 17:09 djrichwz

Can you please include your electron.manifest.json file

tub5 avatar Sep 15 '21 14:09 tub5

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": [ "**/*" ] }, "**/*" ] } }

djrichwz avatar Sep 15 '21 18:09 djrichwz

Hi. I solved the same problem by updating nodejs and electron.

serdar-sahin avatar Oct 26 '21 08:10 serdar-sahin

🎉🚀 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