Hello,
I'm trying to use Rebex in a Xamarin Forms solution. I bought your SFTP library and try yet to use it in my Test solution.
I'm using VS 2015, 4 projects are present in my solution named "TestXamarinForms":
- TestXamarinForms (Portable)
- TestXamarinForms.Droid
- TestXamarinForms.iOS
- TestXamarinForms.WinPhone
Currently, I'm only testin on a Windows Phone device, so WinPhone project is set as startup project.
I added following references to "TestXamarinForms (Portable)" project:
- net-4.0 : Rebex.Common.dll
- net-4.0 : Rebex.Networking.dll
- net-4.0 : Rebex.Sftp.dll
The solution compiles correctly and starts on the phone, but when the software tries to create a Rebex.Sftp object, here is the exception it raises:
An exception of type 'System.TypeLoadException' occurred in
TestXamarinForms.DLL but was not handled in user code Additional
information: Could not load type 'System.ICloneable' from assembly
'mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=7cec85d7bea7798e'.
Can you please help me resolve that problem?
Are the project references the right ones for Windows Phone 8.1?
Thank you in advance for your support.
Greetings
J-D Gasser