I have installed WinSCP into an Azure Function App via NuGet. On build, I can see that both the exe and dll are in the
However, when running the app locally, I get the "winscp.exe executable was not found at location of the assembly WinSCPnet" error. What is happening is that its looking for the exe in a nested
\bin\Debug\netcoreapp3.1\binThe exe does not exist here, only WinSCPnet.dll If I copy the exe into this nested
binall is well.
What is going on here? How do we get the exe to be copied over to the nested
bin? Or is there some issue causing the nested
binto appear in the first place?