Replies: 1 comment
-
It's problematic. Because DIR may have its own features that are not necessarily the same as the features of his children. But you can definitely do this: project.AllDirs
.FirstOrDefault(x => x.Id != "your dir ID")
.Files
.ForEach(x=>x.Feature = yourFeature);
project.BuildMsi(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to ask, if it would be possible to inherit the feature from the parent entities, when declaring the dirs/files. For instance, simplified example (the correct dirs/files are computed more complicated in real life):
As you can see, I need to add the same feature (
feat_postgres
) multiple times. What I would like to specifiy the feature inDir
entity only, and all children will ihnerit the feature.Beta Was this translation helpful? Give feedback.
All reactions