String Interpolation In Codesmith Generator

50 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 answers

0
b_levitt 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
Blake Niemyjski On

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