How to use WinSCP simply with C# csc compiler?

Advertisement

devopunicorn
Joined:
Posts:
2
Location:
Cloud

How to use WinSCP simply with C# csc compiler?

Beginner in C# question, please be patient :)
I see some nice manuals on how to get WinSCP working with NuGet or in Visual Studio. I currently have no possibility for those. I just use a source code file (dosomejob.cs) and compiler to produce my exe file (dosomejob.exe).
PS C:\jobs\somejob> csc -t:exe .\dosomejob.cs
How do I get WinSCP working with just the csc compiler?
Can I point to the WinSCP exe or dll from my source code file?

Reply with quote

Advertisement

devopunicorn
Joined:
Posts:
2
Location:
Cloud

Thank you, works like a charm :)
PS C:\somefolder\Test> csc -r:"C:\Program Files (x86)\WinSCP\WinSCPnet.dll" -t:exe .\testwinscp.cs

Reply with quote

Advertisement

You can post new topics in this forum