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

martin

Re: Unable to add to Visual Studio for AWS Lambda project

Because I assume that .NET core cannot run Windows binaries. It would not make sense.
Guest

Re: Unable to add to Visual Studio for AWS Lambda project

martin wrote:

I'm afraid you cannot make it working with .NET Core. WinSCP .NET assembly in not a native .NET framework assembly. It relies on an external console application.


I'm still able to include both the dll and the exe and don't expect any problems with the dll trying to use the exe. I just don't follow why the NuGet package is saying it conflicts with .Net Core.
martin

Re: Unable to add to Visual Studio for AWS Lambda project

I'm afraid you cannot make it working with .NET Core. WinSCP .NET assembly in not a native .NET framework assembly. It relies on an external console application.
Guest

Unable to add to Visual Studio for AWS Lambda project

Hi there,

I'm fairly new to using Visual Studio, but I'm trying to create a program for use with Amazon Web Services' Lambda service. According to AWS docs, you need to use .Net Core, which I am doing. When I try to add WinSCP as a NuGet package, I get the following error.

Package WinSCP 5.9.4 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package WinSCP 5.9.4 supports: net (.NETFramework,Version=v0.0)
One or more packages are incompatible with .NETCoreApp,Version=v1.0.


Is there a way to make this work?

Thanks,
Jason