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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mia Alexandra5 reputationPosted Nov 26, 2024, 5:47 AM EST
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.
Uttam ChaturvediRank #477 · 5.2K reputationPosted Nov 26, 2024, 6:20 AM EST
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.
Jaish MathewsRank #225 · 11K reputationPosted Nov 26, 2024, 10:22 AM EST
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: