Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

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

Open lzb949838390 opened this issue 3 years ago • 1 comments

🚨 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.

lzb949838390 avatar Jan 05 '22 09:01 lzb949838390

This is a dotnet issue, alter your build scripts in linux to accommodate this limitation.

I think that means remove the publish toggle

danatcofo avatar Jan 05 '22 12:01 danatcofo

🎉🚀 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 avatar Mar 28 '23 15:03 GregorBiswanger