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

NestedBinMan

Azure Function App - Nested Bin Directories

Hello,

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 \bin\Debug\netcoreapp3.1 directory.

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 dir, namely \bin\Debug\netcoreapp3.1\bin The exe does not exist here, only WinSCPnet.dll If I copy the exe into this nested bin all 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 bin to appear in the first place?

Thanks,
NestedBinMan