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

Thomas42

Reference API with NuGet

Hi there, I have this configuration: Windows, Microsoft Visual Studio Community 2022 (64-Bit) 17.1.1.

I have created a new command line project (.NET 3.5). So I go to my project in Explorer, go to References, do a right mouse click, choose NuGet Package Manager. I search for WinSCP, can find it as version 5.19.6 and install it. After this, I change to my project but there is no WinSCP reference in the reference list. Just a entry called packages.config. There is no Reference called WinSCP or similar. If I try using WinSCP – there are no entries...
Where I was going a false way??
Thomas

PS: Hi again, here further information...in my project folder I can see a package folder called WinSCP.5.19.6. In, there are folder build, lib and tools... in my output folder (bin\debug folder) I can see only the WinSCP.exe but not any dll file.

I was following https://winscp.net/eng/docs/library_install#nuget

Sorry! I GOT IT. I raised the Version of my project to 4.x and it worked... Sorry.