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:
29,540
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:
29,540
Location:
Prague, Czechia

wongwaijeremy wrote:

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,540
Location:
Prague, Czechia

hepshaw wrote:

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.:(
5.14 won't be released in next few weeks.
I can send you a development build, if you want.

Reply with quote

hepshaw
Joined:
Posts:
2
Location:
Idaho

martin wrote:

hepshaw wrote:

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.:(
5.14 won't be released in next few weeks.
I can send you a development build, if you want.

Yes, please. That would be fantastic.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,540
Location:
Prague, Czechia

hepshaw wrote:

Yes, please. That would be fantastic.
Sent.

Reply with quote

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

martin
Site Admin
martin avatar
Joined:
Posts:
29,540
Location:
Prague, Czechia

Re: .NET Core 2.0 compatible version

crittag wrote:

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.
We plan to release a beta version within a month.

Reply with quote

Advertisement

You can post new topics in this forum