"electronize build /target win" command does not create executable electron file and does not create setup exe file #689

Closed
opened 2026-01-29 16:46:05 +00:00 by claunia · 2 comments
Owner

Originally created by @aykutdemirci on GitHub (Aug 22, 2021).

My project is an ASP.NET MVC Web Application in .NET 5
Here is my electron.manifest.json file

{
  "executable": "Bsr",
  "splashscreen": {
    "imageFile": ""
  },
  "name": "Bsr",
  "author": "Aykut DEMİRCİ",
  "singleInstance": true,
  "environment": "Production",
  "build": {
    "appId": "com.Bsr.app",
    "productName": "Bsr",
    "copyright": "Copyright © 2020",
    "buildVersion": "0.0.8",
    "compression": "maximum",
    "directories": {
      "output": "../../../bin/electron"
    },
    "extraResources": [
      {
        "from": "./bin",
        "to": "bin",
        "filter": [ "**/*" ]
      }
    ],
    "files": [
      {
        "from": "./ElectronHostHook/node_modules",
        "to": "ElectronHostHook/node_modules",
        "filter": [ "**/*" ]
      },
      "**/*"
    ]
  }
}

When I ran the electronize build /target win command, at the end of the process, neihter electron executable file nor setup exe file are creating. Also, although the output directory is ../../../bin/electron in my electron.manifest.json file, Electron, extracts the files to /obj/desktop/win/bin directory.

I don't know why. Before today, It was working normally. Maybe I do something wrong.

  • ElectronNET.API 11.5.1
  • ElectronNET.CLI 11.5.1
  • .NET 5

Here is my StackOverflow question maybe could help

And here is another StackOverflow question about same issue asked before mine

Originally created by @aykutdemirci on GitHub (Aug 22, 2021). My project is an ASP.NET MVC Web Application in .NET 5 Here is my ```electron.manifest.json``` file ``` { "executable": "Bsr", "splashscreen": { "imageFile": "" }, "name": "Bsr", "author": "Aykut DEMİRCİ", "singleInstance": true, "environment": "Production", "build": { "appId": "com.Bsr.app", "productName": "Bsr", "copyright": "Copyright © 2020", "buildVersion": "0.0.8", "compression": "maximum", "directories": { "output": "../../../bin/electron" }, "extraResources": [ { "from": "./bin", "to": "bin", "filter": [ "**/*" ] } ], "files": [ { "from": "./ElectronHostHook/node_modules", "to": "ElectronHostHook/node_modules", "filter": [ "**/*" ] }, "**/*" ] } } ``` When I ran the ```electronize build /target win``` command, at the end of the process, neihter electron executable file nor setup exe file are creating. Also, although the output directory is ```../../../bin/electron``` in my ```electron.manifest.json``` file, Electron, extracts the files to ```/obj/desktop/win/bin``` directory. I don't know why. Before today, It was working normally. Maybe I do something wrong. * **ElectronNET.API 11.5.1** * **ElectronNET.CLI 11.5.1** * **.NET 5** [Here is my StackOverflow question maybe could help](https://stackoverflow.com/questions/68881292/electron-net-cli-is-publishing-to-directory-different-from-specified-in-electron) [And here is another StackOverflow question about same issue asked before mine](https://stackoverflow.com/questions/57851822/electronize-build-does-not-produce-output-in-bin-desktop-folder)
claunia added the bug label 2026-01-29 16:46:05 +00:00
Author
Owner

@aykutdemirci commented on GitHub (Aug 27, 2021):

Here is my command line output
cmd

and created files after build
electron

@aykutdemirci commented on GitHub (Aug 27, 2021): **Here is my command line output** ![cmd](https://user-images.githubusercontent.com/11570865/131193677-d5d0ef3d-75f5-46d2-ae1d-17d72ac26c5f.png) **and created files after build** ![electron](https://user-images.githubusercontent.com/11570865/131193684-f32d675d-b747-46d4-9b74-fa55ce83ca99.png)
Author
Owner

@aykutdemirci commented on GitHub (Aug 28, 2021):

OK, I fixed the problem. I updated the node to version of 14.17.5

@aykutdemirci commented on GitHub (Aug 28, 2021): OK, I fixed the problem. I updated the node to version of 14.17.5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#689