Questions tagged [texttemplate]

Text::Template is a Perl library that allows to generate text from text containing Perl code that is evaluated.

43 questions
0
votes
1 answer

Runtime Text Templates in Visual Studio 2019

I am trying to create a runtime text template for a .net core application, but I don't see TextTemplatingFilePreprocessor as a custom tool options in the properties pane. All I want to do is create a text template that will generate a text file with…
Walt
  • 119
  • 1
  • 11
0
votes
0 answers

HTML code with special characters \n \r, how to display properly

I`m a newbie in programming, and I have to work with realy old code (2004). In my program I have e-mail message generator which gives me code like this: \r\n\r\n
\r\n\t
Piotr P
  • 294
  • 1
  • 4
  • 12
0
votes
1 answer

T4 template transform getting error by CustomHost

I tried to transform T4 template. but its get "ErrorGeneratingOutput". I have created custom host for T4 template transform based on below mention Microsoft document…
0
votes
1 answer

Skipping solution folders in TT automation script

I have a Text Template snippet which generates a Solution class with an Assemblies property to list all project assemblies in the Visual Studio solution to help with IoC container configuration (GitHub, NuGet). It fails when projects are placed in…
Dmitry Nogin
  • 3,670
  • 1
  • 19
  • 35
0
votes
2 answers

Clearing Custom Tool file property in Visual Studio 2010

Is there any way to prevent prevent a custom tool from running or remove the custom tool for a file type per project in Visual Studio? In my example I would like to add a file to my project with an extension (.tt) that Visual Studio assoicates with…
Joe Cartano
  • 2,997
  • 3
  • 22
  • 40
0
votes
0 answers

Form input with an associated label

I'm doing a todo list on backbone by example. But I have an error when I'm using text/template. An error is - Tag start is not closed. :