texttemplate Questions

6

Solved

I would like to use my own class define in a CS file in my TT. Example: public class ClassDefinition { public string NameSpace { get; set; } public string Name { get; set; } public string Prot...
Cantone asked 25/7, 2014 at 14:10

1

I have an issue in "CallContext.LogicalGetData" method using .net Core when i try to send parameter to runtime text template t4 (net core) Below tt file : <#@ template language="C#" #> &lt...
Anabantid asked 27/3, 2020 at 17:1

3

Solved

Hi I am trying to find a way to pass a normal string as a parameter to a text template. This is my Template code, if someone could tell me what I would need to write in c# to pass my parameters an...
Neckwear asked 11/4, 2013 at 10:47

2

Solved

I created a T4 text template (.tt) file in Visual Studio Code, but unlike Visual Studio 2017 (or 2015 ,...) it won't generate the output file after saving the .tt file. How can I generate the outpu...

1

Solved

I am using T4 in my project. I have a .tt file which is TextTemplatingFileGenerator I found that it won't generate the output unless I edit the .tt file. Is there a way to generate the output by bu...
Tantalite asked 10/1, 2011 at 8:25
1

© 2022 - 2024 — McMap. All rights reserved.