In order to run the T4s on Visual Studio 2019 make the change to the assembly reference in the MultiOutput.ttinclude ttinclude file within the codegenerator project to be: <#@ assembly name="Microsoft.VisualStudio.Shell.15.0" #> instead of <#@ assembly name="Microsoft.VisualStudio.Shell" #>