T4 Text Transform template creating xx.cs file avoid ErrorGeneratingOutput -


i have t4 template outputting specified file name. t4 when run creating xx.cs file each tt file have. within file text "errorgeneratingoutput"

is there way prevent file being created?

i'm afraid not, no.

when using 1 of mechanisms create specific files, there dummy stub file. typically set text file with

<#@ output extension=".stub.txt" #> , put explanatory text in effect it's placeholder putting text body of template. set build action 'none' permanently.

i'm not sure what's causing error, that's error in rest of template reported typically.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -