I am working with azure function. The problem I am experiencing is that after build it is creating nested bin folder.
.........\bin\Debug\net8.0\bin.
Loading
I am working with azure function. The problem I am experiencing is that after build it is creating nested bin folder.
.........\bin\Debug\net8.0\bin.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaish MathewsPosted Nov 26, 2024, 3:22 PM
I read it some where, but lost the reference. The additional
binfolder is required to correctly organize and isolate dependencies, ensuring that the runtime can find and load the required assemblies during execution.- Visual Studio first compiles the code into the standard
- Then, Azure Functions tooling (like the
What Goes into Each Folder?.NEToutput path:...\bin\Debug\net8.0\.funccommand-line tools or SDK) adds anotherbinfolder inside the output path (...\bin\Debug\net8.0\bin) to copy and organize function-related files....\bin\Debug\net8.0:...\bin\Debug\net8.0\bin:Uttam ChaturvediPosted Nov 26, 2024, 11:20 AM
Hi Vijay,
This is quite intresting observation. I have made couple of FunctionApp and they all are working in production and funny part is that they all follow the same structure which you mentioned.
I could not find out any specifiy reason however it could be standard followed by microsoft for functionApp Specifically.
Mia AlexandraPosted Nov 26, 2024, 10:47 AM
I am facing an issue with Azure functions seeing another bin folder being created inside bin. So Folder structure is like this bin Bin directories in Linux are dedicated areas for storing executable files, commonly known as binaries. These binaries are required for the execution of different commands and programs on a Spacebar clicker Linux system. The binary folders ensure that these executables are easily accessible to users For example, this folder will have the . class, . jar etc files which are compiled. To describe this in another way, "src" folder contains the human readable code and "bin" contains the binary that the java virtual machine executes.