mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Electron.NET & Sqlite Installer Issue #347
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 @hamendranathtyagi on GitHub (Jun 12, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
My test app is running fine by using electronize start command. Now I am trying to create Installer by applying following command command : electronize build /target win. I am able to create electron.net.host Setup 1.0.2.exe under ..obj\desktop\win\dist folder. But When I am running this exe it gives me attached error. Kindly assist on same

@alessiotm commented on GitHub (Jun 12, 2019):
Have you tried to build with the latest version of the CLI?
@GregorBiswanger commented on GitHub (Jun 12, 2019):
Use our newest 5.22.12 API & CLI Version.
And then type the following command in your ASP.NET Core folder:
electronize init@hamendranathtyagi commented on GitHub (Jun 12, 2019):
I am using .NET core 2.2 and 5.22.12 API already and when I am trying to include 5.22.12 CLI Version, It gives attached error. I have below entry in my csproj file. Kinldy assit on same.
@alessiotm commented on GitHub (Jun 12, 2019):
Try to install the CLI globally:
dotnet tool install electronnet.cli -g@hamendranathtyagi commented on GitHub (Jun 12, 2019):
I already did this and tried again as you asked. Get below message
C:\Electron\10June2019Sqlite\netcoretutorial\Tutoriel>dotnet tool install ElectronNET.CLI -g
Tool 'electronnet.cli' is already installed.
@GregorBiswanger commented on GitHub (Jun 13, 2019):
@hamendranathtyagi Which version does the CLI output?
electronize versionAlternatively, you can also remove the CLI globally and reinstall:
dotnet tool uninstall ElectronNET.CLI -g@hamendranathtyagi commented on GitHub (Jun 13, 2019):
@GregorBiswanger
ElectronNET.CLI Version: 5.22.12.0
But in cs project file I am using below entry:
And when I changed my cs project entry with

I am getting below errror;

@GregorBiswanger commented on GitHub (Jun 13, 2019):
Strange. Normally, Electron.NET supports the .NET Core Version 2.2. - Normally, the ItemGroup entry is no longer needed. Remove the part and try again. It is only needed for the API.
Possibly. can you reproduce the problem and provide it to me. Then I can arrange it for you.
@hamendranathtyagi commented on GitHub (Jun 13, 2019):
I removed the the ItemGroup entry from cs project as you suggested.
Application run fine with IIS express as well electronize start.
And then I tried electronize build /target win64 . I got dist folder created as well electron.net.host Setup 1.0.2.exe created. But When I am running the electron.net.host Setup 1.0.2.exe I will be getting below error.

But
@hamendranathtyagi commented on GitHub (Jun 13, 2019):
@ GregorBiswanger
Please find attached electron.manifest. If I am missing something then pls let me know.
@hamendranathtyagi commented on GitHub (Jun 18, 2019):
@ GregorBiswanger - Kindly assist on my issue. Regards
@GregorBiswanger commented on GitHub (Jul 28, 2019):
@hamendranathtyagi do you have the new electron.manifest.json file structure? see in the readme.md at important notes...
@LarsPedersen commented on GitHub (Nov 24, 2019):
@hamendranathtyagi I've seen the same problem on a recent .NET Core 3.0 project building with ElectronNET.CLI version 5.30.1.0. When I examined the electron.manifest.json I realized that the final output was to the bin folder, as per my manifest file:
The installer the bin/Desktop folder works fine.
I hope that this helps.