Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

jcapson

Never mind, I figured it out. As the install docs say, the winscp exe and dll both must be in bin. They were for my dev project, but NOT for my test project that was calling my wrapper.
jcapson

jcapson wrote:

I am getting the same error. Has anyone out there seen and solved this?


prikryl, any idea what I'm doing wrong?
jcapson

I am getting the same error. Has anyone out there seen and solved this?
curelom

Could not laod file or assembly

I am working with a asp.net mvc 3 project. I've installed WinSCP 5.0.7 and also installed the 5.0.7 automation dll and referenced in the project. I get the following error.

Error occured:Could not load file or assembly 'WinSCP, Version=1.0.0.235, Culture=neutral, PublicKeyToken=b5f19f5762436b89' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I don't know why it's looking for 1.0.0.235 or why it can't find the assembly. Any ideas?