Blazor Server Side work on electronize start but not after electronize build /target win #696

Open
opened 2026-01-29 16:46:12 +00:00 by claunia · 0 comments
Owner

Originally created by @NicolasEhrhard on GitHub (Sep 11, 2021).

Originally assigned to: @GregorBiswanger on GitHub.

Hello, i use electron.Net for my blazor project.
When i use it with electronize start, it's working perfectly, but when i try to publish it to windows ( electronize build /target win )
i've got an javascript error.

Capturer

this is my manifest.json:
{
"executable": "DakaraApp",
"splashscreen": {
"imageFile": "/wwwroot/images/Dakara.png"
},
"name": "Dakara",
"author": "Alsaris",
"singleInstance": false,
"environment": "Production",
"build": {
"appId": "com.AdminDashboard.Server.app",
"productName": "DakaraApp",
"copyright": "Copyright © 2020",
"buildVersion": "0.0.1",
"win": {
"icon": "/wwwroot/images/Dakara.png"
},
"mac": {
"icon": "/wwwroot/images/Dakara.png"
},
"linux": {
"icon": "/wwwroot/images/Dakara.png"
},
"compression": "maximum",
"directories": {
"output": "../../../bin/Desktop"
},
"extraResources": [
{
"from": "./bin",
"to": "bin",
"filter": [ "/*" ]
}
],
"files": [
{
"from": "./ElectronHostHook/node_modules",
"to": "ElectronHostHook/node_modules",
"filter": [ "
/" ]
},
"**/
"
]
}
}

Can someone help me ?

Originally created by @NicolasEhrhard on GitHub (Sep 11, 2021). Originally assigned to: @GregorBiswanger on GitHub. Hello, i use electron.Net for my blazor project. When i use it with electronize start, it's working perfectly, but when i try to publish it to windows ( electronize build /target win ) i've got an javascript error. ![Capturer](https://user-images.githubusercontent.com/33448341/132939738-47be92f1-9622-48c0-a6d7-3b212478fe12.PNG) this is my manifest.json: { "executable": "DakaraApp", "splashscreen": { "imageFile": "/wwwroot/images/Dakara.png" }, "name": "Dakara", "author": "Alsaris", "singleInstance": false, "environment": "Production", "build": { "appId": "com.AdminDashboard.Server.app", "productName": "DakaraApp", "copyright": "Copyright © 2020", "buildVersion": "0.0.1", "win": { "icon": "/wwwroot/images/Dakara.png" }, "mac": { "icon": "/wwwroot/images/Dakara.png" }, "linux": { "icon": "/wwwroot/images/Dakara.png" }, "compression": "maximum", "directories": { "output": "../../../bin/Desktop" }, "extraResources": [ { "from": "./bin", "to": "bin", "filter": [ "**/*" ] } ], "files": [ { "from": "./ElectronHostHook/node_modules", "to": "ElectronHostHook/node_modules", "filter": [ "**/*" ] }, "**/*" ] } } Can someone help me ?
claunia added the bug label 2026-01-29 16:46:12 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#696