clariuslabs / TransformOnBuild

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

Run transformation on Rebuild but not on Build? #64

Open silentnightwalk opened 5 years ago

silentnightwalk commented 5 years ago

Is it possible to run transformation on Rebuild but not on Build with current tool?

Ideally, I would like to find a way to run all transformations only when user decides to. Do you know, by any chance, any method to run all transformations across solution by pressing a button or running a custom tool? I tried to run TextTransform.exe manually, but found the problem of null reference exception when running (this.Host as IServiceProvider).GetService(typeof(EnvDTE.DTE)) as EnvDTE.DTE; from not inside visual studio.