简体   繁体   English

ElectronNET 生成 32 位 exe 或其他带有 dot net core 项目的自定义版本

[英]ElectronNET generate 32 bit exe or other custom versions with dot net core project

Electronize build a exe with target 32bit windows Electronize 用目标 32 位窗口构建一个 exe

When running the default code found on the official documentation electronize build /target custom win7-x86;win32 /electron-arch ia32 simply fails to run, gives some console error.运行官方文档中的默认代码时electronize build /target custom win7-x86;win32 /electron-arch ia32根本无法运行,给出一些控制台错误。

Build Electron Application... electronize.exe : Unhandled exception.构建电子应用程序...electronize.exe:未处理的异常。 System.AggregateException: One or more errors occurred. System.AggregateException:发生一个或多个错误。 (Index was outside the bounds of the array.) At line:1 char:1 (索引超出数组范围。)在 line:1 char:1

  • electronize.exe build /target custom win-x86;win /dotnet-configuratio ... electronize.exe build /target custom win-x86;win /dotnet-configuratio ...

在此处输入图片说明

You can combine these methods to generate your target output type您可以结合使用这些方法来生成目标输出类型

Run this command electronize build /custom... More info This give you details regarding the options available.运行此命令electronize build /custom... 更多信息这将提供有关可用选项的详细信息。

For 32bit windows对于 32 位窗口

electronize.exe build /target custom "win-x86;win" /dotnet-configuration Debug /electron-arch ia32

The double quotes "win-x86;win" is the most important part.双引号 "win-x86;win" 是最重要的部分。 In the official documentation, it is not there, so it will fail in package manager console在官方文档中,它不存在,所以它会在包管理器控制台中失败

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 electro.net asp.net mvc 中将自定义 Java 脚本代码添加到 ElectronHostHook - How to add custom Java script code to ElectronHostHook in electronnet asp.net mvc 具有 ASP.NET Core 和 Angular 的 ElectronNet 存在依赖性问题 - ElectronNet with ASP.NET Core and Angular issue with dependency 如何为 Mac OS 的electronNET 生成安装程序包? - How to generate a installer package for electronNET for Mac OS? 自定义 Window 与(最小,最大,关闭按钮)在 Electron.Net 应用程序与 Asp.net 或 Z98AD8B3C849B3CA144FZF1F7 - Custom Window With (min,max,close buttons) In Electron.Net App with Asp.net or Blazor 将命令行 arguments 传递到构建后生成的.exe - Passing Command line arguments to .exe generated after build Blazor+Electron.NET 应用程序在启动时崩溃 - Blazor+Electron.NET app crashes on startup Electron.NET:如何添加菜单? - Electron.NET: How to add menu? 你如何为 ubuntu 平台构建一个 Electron.Net 应用程序? - How do you build an Electron.Net app for ubuntu platform? 从 VISUALSTUDIO 2019 调试 ELECTRON.NET 应用程序 - NETCORE 3.1 - Debugging ELECTRON.NET app from VISUALSTUDIO 2019 - NETCORE 3.1 .net core 应用程序在不同的端口上与具有跨平台的电子.net 一起运行 - .net core Application is run with different port with electron.net with cross platrom
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM