We are using T4-Templates to generate Code for all of our models. We have a multi project setup with multiple TDS projects.
We want to use multiple Base Template References (Multi-project Properties) within one TDS project to generate Templates with the correct namespace of the Base Template.
Let's say we have two base TDS Projects Base1 and Base2. In a third TDS project, we have a Template that inherits fields of both base projects.
I want it to look something like this:
public partial class Inheriting: GlassBase, global::Base1.Field1, global::Base2.Field2
I'm aware of this question here, but it is not generic enough to allow two or more base projects, if they have different Namespaces: https://stackoverflow.com/questions/31711197/sitecore-tds-multi-project-properties-base-template-reference-not-working-for-me
How can I tweak my .tt files to do this?