OS: Mac 10.14
Compiler : Visual Studio for Mac 2019
Aspose.Email Ver : 21.4
Language : C#
FromVCard api is working fine with Aspose.email ver 20.11. But when i upgrade to upper version (20.12 or latest 21.4) it starts failing.
This issue is faced in Release mode only. In Debug mode it works fine.
Exception:
System.TypeLoadException: Cannot load type ‘System.String, netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’.
at . (System.Int32 , , System.Boolean& , System.Boolean ) [0x001f6] in :0
at . (System.Int32 , System.Boolean ) [0x00032] in :0
at . () [0x0002b] in :0
at . (System.Object[] , System.Type[] , System.Type[] , System.Object[] ) [0x00035] in :0
at . (System.IO.Stream , System.String , System.Object[] , System.Type[] , System.Type[] , System.Object[] ) [0x0000f] in :0
at . (System.IO.Stream , System.String , System.Object[] ) [0x00000] in :0
at . (System.IO.Stream , System.String , System.Object[] ) [0x00000] in :0
at Aspose.Email.Mapi.MapiMessageItemBase. () [0x00015] in :0
at Aspose.Email.Mapi.MapiMessageItemBase…ctor () [0x00006] in :0
at Aspose.Email.Mapi.MapiContact…ctor () [0x00000] in :0
at Aspose.Email.Mapi.MapiContact…ctor ( ) [0x00000] in :0
at Aspose.Email.Mapi.MapiContact.FromVCard (System.String filePath, System.Text.Encoding encoding) [0x00029] in :0
at MsgViewer.ViewController.ConvertVCFToCSV (System.String strFilePath, System.String strDestPath) [0x000c6] in <2905cc9dee8b449bae98219eec8b1931>:0 exception caught in VC.SVCFBEC01