t4-toolbox Questions
3
Solved
I'm a T4 newbie trying to use T4 Toolbox to generate F# code based on this answer, but it seems that class feature blocks can't be mixed with statement blocks. Here's my code:
<#@ template lang...
Lillielilliputian asked 17/4, 2010 at 21:8
2
I'm trying to use such simple scheme in my project:
Item.cs -> this contains c# partial class with simple entity properties.
It has set also property "Custom Tool: T4ScriptFileGenerator" so it att...
Lure asked 10/5, 2011 at 6:49
4
I am writing a T4 script which reflects over certain classes and provides code generation based on them. The problem is that my script errors out, saying that the classes in my current project cann...
Climax asked 21/7, 2010 at 10:8
2
Solved
How can i use generated file's name in template?
I'd like to something like this:
// This file: <#= OutputFileName #> was autogenerated
How can i do that in T4 or in T4Toolbox?
Allegiance asked 10/8, 2011 at 17:47
1
Solved
Is it possible to make a T4 template output to be merged with an existing file?
For example, if a T4 template generates localization resource XML files, is it possible to merge them in some existi...
Carlocarload asked 7/6, 2011 at 6:28
1
© 2022 - 2024 — McMap. All rights reserved.