Hi, we recently updated our Mac application to use the Unified API. We're targeting the Xamarin.Mac .NET 4.5 Framework.
Some of our assemblies uses System.Web.dll. When the application tries to use a class inside System.Web.dll, I get the following exception.
System.BadImageFormatException: Method has zero rva at at (wrapper managed-to-native) AppKit.NSApplication:NSApplicationMain (int,string) at AppKit.NSApplication.Main (System.String args) [0x00041] in /Users/builder/data/lanes/3508/cbea5f86/source/xamarin-macios/src/AppKit/NSApplication.cs:94 at ScrollBarExample.MainClass.Main (System.String args) [0x00007] in /Users/daniel/Projects/NewXamMac/ScrollBarExample/Main.cs:10
Is there any workaround for this issue? Thanks!