mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
electron-builder | Unknown argument: . #526
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 @giacomoforlani on GitHub (Jul 6, 2020).
Electron.NET CLI: 9.31.1
Node.js: 12.18.2
.NET Core: 3.1
Target: win
When I launch command "electronize build /target win" I receive following error:
Unknown argument: .
I found that this error is throwed from file ElectronNET.CLI/Commands/BuildCommand.cs at line 189, after launched command "npx electron-builder . --config=./bin/electron-builder.json --win --x64 -c.electronVersion=9.0.3".
I saw that @rbaker26 fix this bug by removing extra dot so I tried to clone repo, build solution and replace electron dotnet-electronize.dll. In this way, now electron build successfully but when I launch the app, process is visible only in background.
@vituthanh commented on GitHub (Jul 6, 2020):
me too
@HaydnDias commented on GitHub (Jul 6, 2020):
This has been fixed in #443 as raised in #441 , I think the plan was to release it today. @JakStark @vituthanh
@vituthanh commented on GitHub (Jul 6, 2020):
I hope Electron NET.CLI will be updated soon.
@vituthanh commented on GitHub (Jul 6, 2020):
After replace dotnet-electronize.dll file from git source at folder
C:\Users{username}.dotnet\tools.store\electronnet.cli\9.31.1\electronnet.cli\9.31.1\tools\netcoreapp3.1\any
My project was built successfully.
@rbaker26 commented on GitHub (Jul 6, 2020):
@vituthanh @JakStark
Make sure you update the dotnet tooling (not automatic)
On Windows

On Linux

@rbaker26 commented on GitHub (Jul 6, 2020):
This is also noted in the README.md under Important Notes
See #445 for up to date version numbers.
@GregorBiswanger commented on GitHub (Jul 6, 2020):
Hey Community, we have released version 9.31.2 with the electron-builder fix! In addition, I have improved the socket problems again and updated to Electron 9.0.5.