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/dotps1/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:
28,658
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

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

wongwaijeremy wrote:

Thank you very much. This is useful.
I've emailed you the NuGet package.

Reply with quote

Advertisement

You can post new topics in this forum