Hello All,
I have a requirement for file based integration is D365 F&O
I have download Renci.SshNet
Created C# library class for upload the file to an SFTP server.
Added the dll as reference in my D365 project.
Created a service class for passing the required parameters to C# class for uploading the file.
in my D365 project , in service class on method signature I am getting the following error:
"Type 'System.IO.Stream' not found in assembly 'System.Runtime, version=4.0.0.0, Culture= neutral, PublicKeyToken=b03f5f7f11d50a3a'
Please run a full compilation of the model corresponding to the assembly 'System.Runtime, Version=4.0.0.0, Culture= neutral, PublicKeyToken=b03f5f7f11d50a3a'
Also I have changed the version number to 4.2.2.0 under web.config file as I was getting version error initially and after changing this that error has gone but now I am getting the above error. Could someone please suggest some answers here to overcome the issue?