clariuslabs / TransformOnBuild

Transform Text Templates On Build
Apache License 2.0
48 stars 17 forks source link

Transformation is not triggered on build #41

Closed evgenisokolov closed 7 years ago

evgenisokolov commented 7 years ago

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