How can I use custom methods inside a T4 template that is in a different assembly

I have a dll called utilities that contains some helper methods, and I want to use one of the helper methods inside the T4 template, for example <# = tbl.ClassName.ToProper () #>

+4
source share
1 answer

You will need to use assembly and import to refer to your dll and the namespace in which your helper class is specified.

+5
source

All Articles