Azure Function App - Nested Bin Directories

Advertisement

NestedBinMan
Guest

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

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum