-
-
Notifications
You must be signed in to change notification settings - Fork 745
Description
- Version:
ElectronNET.Core: 0.4.1
ElectronNET.Core.AspNet: 0.4.1
ElectronNET.Core.API: 0.4.1
.NET: 10
NodeJs: 22
- Target:
An Asp.net application designed to run on a windows x64 system.
I have a windows application that I build in linux using Docker. Based on the instructions from https://www.electron.build/multi-platform-build#docker, I am building my Asp.Net application using the docker image electronuserland/builder:22-wine, installing the dotnet sdk, and building my application. With version 0.3.0, everything was working fine. When updating to 0.4.1, the following error occurs when publishing the application:
error ELECTRON100: The target RuntimeIdentifier 'win-x64' (platform: win) does not match the current operating system (linux)
Building our application in docker greatly simplifies our build environment both for our developers and when using our build agents because everything is contained in the Dockerfile and virtually no external dependencies are required. We have been building our application in this manner for years and would like to continue to do so.