String Interpolation In Codesmith Generator

65 Views Asked by At

Is there a way to use some of the newer c# features like string interpolation, ie: var string = $"Hello {worldVar}"

2

There are 2 best solutions below

0
On BEST ANSWER

Codesmith got back to me and indicated this will be in the next version when they bump their internal runtime from 4.0 to 4.7.

0
On

I work at CodeSmith Tools, the latest version (8.0) added support for .NET 4.7 and string interpolation.