Electron.NET
Electron.NET copied to clipboard
Failed to build for target win or linux on macOS
Version:
- ElectronNET.CLI:
13.5.1.0 - ElectronNET.API:
13.5.1 - Dotnet:
5.0.401 - Node:
14.17.3
Target:
-
winorlinux
Steps to Reproduce:
- Open a Electron.NET project on macOS
- Run
electronize build /target winorelectronize build /target linux - Then I got the following error.
/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(316,5): error NETSDK1095: Optimizing assemblies for performance is not supported for the selected target platform or architecture. Please verify you are using a supported runtime identifier, or set the PublishReadyToRun property to false.