Install manually Assembly witout use NuGet

Advertisement

JonnyGio
Guest

Install manually Assembly witout use NuGet

Hello to all!
How I can install manually Assembly witout use NuGet?

Regards,
JonnyGio

Reply with quote

Advertisement

tattdogg
Joined:
Posts:
10
Location:
Minsk, Belarus

1. download WinSCPnet.dll + WinSCP.exe files
2. add dll file to the project references
3. add exe file to the project root (add item - existing item if we're talking about VS)
4. check that Build action is set to Content for the exe file

Reply with quote

JonnyGio
Guest

tattdogg wrote:

1. download WinSCPnet.dll + WinSCP.exe files
2. add dll file to the project references
3. add exe file to the project root (add item - existing item if we're talking about VS)
4. check that Build action is set to Content for the exe file

Thanks for the support, I have another problem:
When I add dll file to the project references is return this Warning message: "Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly 'C:\*****\******\******\WinSCP-5.15-Automation\WinSCPnet.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded" is not possible use the DLL.

Regards,
JonnyGio

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,766
Location:
Prague, Czechia

And what runtime are you using? Why don't you use a later/the latest?

Reply with quote

Advertisement

JonnyGio
Guest

martin wrote:

And what runtime are you using? Why don't you use a later/the latest?
Yes, the problem was a runtime, with a latest version the DLL is recognized.
Thanks for the support.

Regards,
JonnGio

Reply with quote

Advertisement

You can post new topics in this forum