Unable to build for windows 32-bits #193

Open
opened 2026-01-29 16:33:17 +00:00 by claunia · 0 comments
Owner

Originally created by @PabloLilao on GitHub (Jul 11, 2018).

I followed the instructions in the getting started video choosing an Angular Template project.

I have my demo project and I'm able to run it with dotnet electronize start and building it with dotnet electronize build /target win and the project builded runs fine.

But when I try to build using dotnet electronize build build /target custom win7-x86;win32 /electron-arch ia32 I get the following error:

Build Electron Application...

Unhandled Exception: System.AggregateException: One or more errors occurred. (Index was outside the bounds of the array.) ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ElectronNET.CLI.Commands.Actions.GetTargetPlatformInformation.Do(String desiredPlatform, String specifiedPlatfromFromCustom)
at ElectronNET.CLI.Commands.BuildCommand.b__13_0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at ElectronNET.CLI.Program.Main(String[] args)

Originally created by @PabloLilao on GitHub (Jul 11, 2018). I followed the instructions in the [getting started video](https://www.youtube.com/watch?v=nuM6AojRFHk) choosing an Angular Template project. I have my demo project and I'm able to run it with `dotnet electronize start` and building it with `dotnet electronize build /target win` and the project builded runs fine. But when I try to build using `dotnet electronize build build /target custom win7-x86;win32 /electron-arch ia32` I get the following error: Build Electron Application... Unhandled Exception: System.AggregateException: One or more errors occurred. (Index was outside the bounds of the array.) ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at ElectronNET.CLI.Commands.Actions.GetTargetPlatformInformation.Do(String desiredPlatform, String specifiedPlatfromFromCustom) at ElectronNET.CLI.Commands.BuildCommand.<ExecuteAsync>b__13_0() at System.Threading.Tasks.Task\`1.InnerInvoke() at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task\`1.GetResultCore(Boolean waitCompletionNotification) at ElectronNET.CLI.Program.Main(String[] args)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#193