mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Unable to build (The given key was not present in the dictionary.) #224
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 @Khaoz-Topsy on GitHub (Oct 23, 2018).
Hi,
I am struggling to get Electron.Net to build my project, I can use

dotnet electronize startand that works properly but I cannot seem to get it to build. My project is dotnet core MVCElectronNET.CLI Version: 0.0.9.0
Microsoft.AspNetCore 2.1.1
@robertmuehsig commented on GitHub (Oct 23, 2018):
Can you share the your sample application?
@Khaoz-Topsy commented on GitHub (Oct 23, 2018):
Thanks for the super fast reply 😀
Here is most of the application
https://github.com/Khaoz-Topsy/electron.NetTimesheetsApp
@Khaoz-Topsy commented on GitHub (Oct 23, 2018):
In pushing the code to that github repo, I used hyper instead of bash, and then it built. So it seems that I am only unable to use
dotnet electonize build /target winin bash@kwakuduahc1 commented on GitHub (Oct 25, 2018):
The problem is your .csproj. I ran into the same issue today. I had inadvertently modified a part of my csproj i couldn't remember.
Try copying and pasting a working csproj of a different project that works. If the need be, reinstall all nuget packages that will be missing.
Then lastly, avoid updating the netcore packages, e.g. entityframework etc. This project only works with netcore 2 and updating any dependency to a different version can be fatal
@Khaoz-Topsy commented on GitHub (Oct 25, 2018):
Well without changing the files, I can run
dotnet electonize build /target winfrom hyper or the cmd, but not from bash@robertmuehsig commented on GitHub (Dec 5, 2018):
We updated our nuget packages: Maybe this will help (and make sure to read the readme, because the ElectronNET CLI is now a global dotnet tool.
@robertmuehsig commented on GitHub (Jan 1, 2019):
If the issue is still not solved just let me know.
@pedromrpinto commented on GitHub (Mar 27, 2019):
I had the same issue with version 0.0.11.0
I was using the following comand in git bash:
electronize build /target winusing windows cmd solved the issue