mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
error NETSDK1095:The selected target platform or architecture does not support optimizing the performance of the assembly. #748
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 @lzb949838390 on GitHub (Jan 5, 2022).
Originally assigned to: @GregorBiswanger on GitHub.
🚨 The issue tracker is not for questions 🚨
Release Linux
I tried to execute the command
electronize build /target linux /p:publishSingleFile=falseAn error occurred.
Message:
error NETSDK1095:The selected target platform or architecture does not support optimizing the performance of the assembly.
@danatcofo commented on GitHub (Jan 5, 2022):
This is a dotnet issue, alter your build scripts in linux to accommodate this limitation.
I think that means remove the publish toggle
@GregorBiswanger commented on GitHub (Mar 28, 2023):
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!