Open
Description
We're migrating some apps from MS Build to our Bazel monorepo, so I have a question regarding how appsetting_files
behaves.
When I define a glob like this:
csharp_binary(
name = "server",
appsetting_files = glob([
"Files/*.*",
])
The output seems to flatten the directory structure — all files under Files/
are copied directly into the root of the output directory. As a result, we need to implement custom logic in the code to reconstruct or handle the expected paths.
Is this the expected behavior? Is there a recommended way to preserve the directory structure in the output, ideally without requiring too much custom implementation?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels