Utility class to force dynamic loading of this assembly in the Xamarin platform.
public static class Assembly
The Xamarin iOS compiler tries to strip out any assemblies that are not directly referenced in the project source.
When developing for Xamarin iOS, if the application's linker setting is set to anything other than Don't Link, you must call Assembly.Use
.
Therefore, if the application is using any of the assemblies in the table below indirectly, a call to the corresponding Assembly.Use
must be added in the source code.
.NetStandard Assembly | Usage |
---|---|
Leadtools.Core | Leadtools.Core.Assembly.Use(); |
Leadtools.Ocr.LEADEngine | Leadtools.Ocr.LEADEngine.Assembly.Use(); |
Leadtools.Svg | Leadtools.Svg.Assembly.Use(); |
Leadtools.Forms.Recognition.Ocr | Leadtools.Forms.Recognition.Ocr.Assembly.Use(); |
Leadtools.Forms.Recognition.Barcode | Leadtools.Forms.Recognition.Barcode.Assembly.Use(); |