I want to use nested includes in a BIML Script (an include in an include), but the second level isn't working. It seems to skip it without giving an error.
|No second Sequence Container|
First be careful with (too many) nested includes! It could make your BIML script obscure. There are two tricks to solve this problem. They came to me via twitter from @cathrinew and @AndreKamman.
Use a full path in the include tag instead of only the name:
|Using the fullpath|
Big downside is of course the full path in your BIML Script. In a multi-user environment with for example TFS that could be an issue because everybody needs the same project path.
A better option is to use CallBimlScript instead of include:
And you could also pass parameters to the included file and use relative path and then reuse the file in multiple projects.