mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Electronize startup exception. #702
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 @MichielArkema on GitHub (Sep 13, 2021).
Originally assigned to: @GregorBiswanger on GitHub.
For starters, the installation did not bring the manifest json nor the about@2x.png image.
After fixing those issues I stumbled upon a new one when executing the electronize start command.
Error:
Hopefully someone is able to help me.
@NicolasEhrhard commented on GitHub (Sep 13, 2021):
Same probleme here #602 . Hope someone has already resolved this
@MichielArkema commented on GitHub (Sep 15, 2021):
Unfortunately I haven't been able to fix it yet. It seems like a problem with the installation process in Electron.NET
@towerbit commented on GitHub (Sep 17, 2021):
Rename your project, remove any dot in it.
@Somfic commented on GitHub (Sep 19, 2021):
Having this error when doing
electronize start, project works fine when usingelectronize start /watch:/@schaveyt commented on GitHub (Oct 18, 2021):
With .net6 rc2, I also has to set my electron.manifest.json environemnt to
Developmentrather than Production in order for the static assets to not report a 404.@serdar-sahin commented on GitHub (Oct 26, 2021):
In electron.manifest the executable, name, productname fields must be the same.
@ggomarighetti commented on GitHub (Nov 26, 2021):
I found the solution.
What you need is to change the configuration of the project, that error gives it to you because Electronize what it is to use the already compiled project.
To solve this you have to go to your project (Example: Client), right click and look where it says Properties, then, you go to Application -> General -> Assembly name, you should see something like "$ (MSBuildProjectName)" , there you change it to be the same one you entered in electron.manifest.json
@danatcofo commented on GitHub (Dec 7, 2021):
@MichielArkema if @ggomarighetti 's solution fixes your problem can you close this ticket please?
@peter-bozovic commented on GitHub (May 10, 2022):
Check the output folder of the build:
Desktop\win-unpacked\resources\binCheck the
.exefile that you have there, and make sure you have the same name in theelectron.manifest.jsonunder"executable":"..."@mcrio commented on GitHub (Jun 26, 2022):
This could be part of the docs. @ggomarighetti I could file a PR but don't want to take all the fame you deserve :)
@damikun commented on GitHub (Aug 26, 2022):
For people who are searching for solution... Please make sure the
"executable": "YourNamespaeName",(fromelectron.manifest.json) match the<AssemblyName>YourNamespaeName</AssemblyName>from your.csprojfile...Also make sure that you dont use whitespaces and characters as
-,/....there because electron removes it and than app does not know whatexefile to run because the name executable is different from defined in manifest...Your executable can be find under
obj/host/binit ends with.exe@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!