WinSCPNet.dll not found when executing in an ASP.NET Core 2.0 application

Advertisement

wongwaijeremy
Guest

WinSCPNet.dll not found when executing in an ASP.NET Core 2.0 application

I came from https://github.com/tomohulk/WinSCP/issues/65.
I download the development-only package which can deploy to .NET core 2.0 application and I tested on console app too.
My application involves multiple project, one Web Host project and multiple class library project.
I added the dll
WinSCP-20180424rnetstandard2-Automation\netstandard2.0\WinSCPnet.dll
as reference into a class library project "Core" only.
Also, I copy the
WinSCP-20180424rnetstandard2-Automation\WinSCP.exe
to the output directory at the same level with WinSCPNet.dll at "Core" project.

Did I do something wrong?
Where should I put the WinSCP.exe or the assembly at?

41952537-00fe44aa-7a03-11e8-9898-1d2ad1c3c0da[1].png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: WinSCPNet.dll not found when executing in an ASP.NET Core 2.0 application

Can you reproduce the problem with a new small project that you can share with us?

Reply with quote

wongwaijeremy
Guest

<invalid hyperlink removed by admin>
Here is it.
There is two project,

WinScpNetCore
Class library for WinSCP Util

WinScpNetCore.Web
Web API Host of ASP.NET CORE 2.0

Reply with quote

Advertisement

hepshaw
Joined:
Posts:
2
Location:
Idaho

I see that there is a fix for this in 5.14. When will this be available? I have a project due tomorrow and I can't refactor everything I've done.:(

Reply with quote

Advertisement

crittag
Joined:
Posts:
1
Location:
UK

.NET Core 2.0 compatible version

Is there any further update on when v5.14 will be available?

I'm in the process of porting my standard code libraries from .NET Framework to .NET Core 2.0 for a new project and this would be really helpful as sFTP is used regularly in our work.

Reply with quote

Advertisement

You can post new topics in this forum