You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a console app with BinaryFormatter called and compile that into self-contained, trimmode=link, publishtrimed, publishsinglefile . When run it under ubuntu arm64, an exception is thrown:
System.IO.FileNotFoundException: Could not load file or assembly 'mscorlib, Version=4.0.0.0
which is very similar with #34494 but this is related to net 5.
Test with self-contained without other flag passed w/o problem.
Configuration
.Net 5.0.201
BTW, I know that BinaryFormatter is obsoleted, lol.