Closed ylatuya closed 1 year ago
can anyone advise on how we can bypass this
System.IO.FileNotFoundException: Could not load file or assembly XX
for libraries that do not support Mac and cannot be installed on Mac such as PCLCrypto. I get that I need to find a different solution for whatever the library is doing (e.g. crypto stuff) but how can I get past it trying to find the assembly on the platform project on initialisation.
Taking into consideration the remaining lifetime of Xamarin.Forms, the platform this is about, the age of this issue and the traction this issue has seen I think it's unlikely that this will get fixed. If it is something that you still would like to have, please consider opening a PR. Thanks!
Description
The NSApplication initialization fails with Xamarin.Forms.Platform.GTK because of a missing assembly in the nuget package.
Steps to Reproduce
Expected Behavior
No exception is thrown and NSApplication's initialization works as expected
Actual Behavior
The following exception is thrown
Basic Information