Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Is it possible to include a linked file in a T4 template

$
0
0

Hi All

 

I'm trying to create a T4 file that includes a linked file. So my project looks like:

Project

    File1.ttinclude

    File2.tt

        File2.cs

 

Here File1.ttinclude is a linked file (Add existing item -> add as link). Unfortunately it seems that the template processor (I'm on VS2010) can't find the file. Is there anyway I can include the file in the template file (short of putting the actual relative file path in the include directive)?

Thanks

Patrick


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>