Does VS 2010 Express edition support T4 preprocessed templates?
Asked Answered
C

2

12

Just installed 2010 Express Edition and I cannot see Preprocess t4 template as an option. Is it not supported in 2010 Express?

Cantu answered 22/7, 2010 at 13:51 Comment(0)
H
13

Unfortunately the item templates got a little misconfigured in our setup program for VS Express editions and are not in the right place on disk, so don't show up in the Add New Item dialog.

In VS 2010 Express Editions, we do support T4 templates of both regular and preprocessed kinds, however you'll have to set them up yourself. If you add a regular text file, then rename its extension to '.tt", it should automatically get the regular T4 custom tool set up in the property grid for the file.

For preprocessed templates, you should set the custom tool manually to 'TextTemplatingFilePreprocessor'.

Hypnotize answered 23/7, 2010 at 18:29 Comment(1)
I use VS 2010 Express, and I cannot find TextTransform.exe. How does VS transform the templates without this tool? Is it possible to download the tool somewhere? I need to use it because I want to automatically regenerate templates. Thanks.Gunner
N
0

The simplest test is:

In your Solution, Add New Item... look for Text Template item. If it's there, then chances are that VS 2010 Express supports T4 natively.

Take a look here for more info:

Does Visual Studio 2008 Express support t4?

Noncontributory answered 22/7, 2010 at 14:9 Comment(1)
I am asking, because I tried that and I don't see them listed, yet I cannot believe that they would not be supported in Express edition.Cantu

© 2022 - 2024 — McMap. All rights reserved.