I have an issue trying to transform simple .tt template.
I installed clarius.transformonbuild to my project using Install-Package Clarius.TransformOnBuild command
Then I added a simple .tt template that looks like this:
<#@ template debug="false" hostspecific="false" language="C#" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".txt" #>
<#=DateTime.Now#>
I'm trying to build and rebuild project and solution, but transformation of this template is not triggering. If run transformation manually it works as designed. What I'm doing wrong? I'm using VS2015 if it matters
Hi!
I have an issue trying to transform simple .tt template.
I installed clarius.transformonbuild to my project using Install-Package Clarius.TransformOnBuild command Then I added a simple .tt template that looks like this: <#@ template debug="false" hostspecific="false" language="C#" #> <#@ assembly name="System.Core" #> <#@ import namespace="System.Linq" #> <#@ import namespace="System.Text" #> <#@ import namespace="System.Collections.Generic" #> <#@ output extension=".txt" #>
<#=DateTime.Now#>
I'm trying to build and rebuild project and solution, but transformation of this template is not triggering. If run transformation manually it works as designed. What I'm doing wrong? I'm using VS2015 if it matters