error NETSDK1095:The selected target platform or architecture does not support optimizing the performance of the assembly. #748

Closed
opened 2026-01-29 16:47:35 +00:00 by claunia · 2 comments
Owner

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=false
An error occurred.
Message:
error NETSDK1095:The selected target platform or architecture does not support optimizing the performance of the assembly.

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=false` An error occurred. Message: error NETSDK1095:The selected target platform or architecture does not support optimizing the performance of the assembly.
claunia added the question label 2026-01-29 16:47:35 +00:00
Author
Owner

@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

@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
Author
Owner

@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!

@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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#748