Keep WinSCP.EXE out of root folder when publishing ASP .NET package
I have installed the latest stable WinSCP NuGet package as part of an ASP .NET web server in Visual Studio 2022. When I publish my web site to a deploy package, WinSCP.EXE is copied to both the root folder and the
/bin
directory in the publish zip file. How do I keep it out of the root folder and just leave it in /bin
?