ComponentPro.Sftp.CF TypeLoadException

0
Hello, I'm having trouble with ComponentPro SFTP DLL (V7.2.20.234) with .net CF application (3.5) on WinCE (please note i'm also using use ComponentPro FTP dll 6.8.20.4155 without any problem). I always have this error: TypeLoadException at Dim client As New Sftp() I tryed same software on .NET 3.5 (windows 10) with correct libraryes and is fully working. I also tryed SftpClientDemo_2008 (.NET CF) with same error. What can i do? could be a problem of the .CF dll? many thanks. here the error: System.TypeLoadException was unhandled Message="TypeLoadException" StackTrace: at ComponentPro.Net.Sftp..ctor() at TestSftp.Form1..ctor() at System.Reflection.RuntimeConstructorInfo.InternalInvoke(RuntimeConstructorInfo rtci, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess, StackCrawlMark& stackMark) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.ConstructorInfo.Invoke(Object[] parameters) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at TestSftp.My.MyProject.MyForms.Create__Instance__[T](Form1 Instance) at TestSftp.My.MyProject.MyForms.get_Form1() at TestSftp.Form1.Main() InnerException: References: Componentpro.Common.CF Componentpro.Network.CF Componentpro.FileSystem.CF Componentpro.sftp.CF here code: Imports ComponentPro.IO Imports ComponentPro.Net Imports ComponentPro.Diagnostics Imports ComponentPro Public Class Form1 Dim client As New Sftp() End Class
edited 11/15/2022 2:43:18 PM
asked 11/15/2022 1:27:55 PM
add a comment

0 Answers

Your Answer

Not the answer you're looking for? Browse other questions tagged sftp or ask your own question.