Force Custom Tool to Empty for Content Files

Topics: General
Jan 16, 2015 at 12:18 AM
I am trying to create a nuget package that includes a set of T4 template files. The files should not compile on their own. However, by default such files (*.tt) are recognized and get the Custom Tool property set to TextTemplatingFileGenerator.

I should note, I don't have a project I'm generating the nuget from, just reading all files with the *.tt extension and adding them to the Content package folder.

Is there an elegant way to force these files to not have a custom action and associated compile item? My best thought is to change the item properties in the install.ps1 after they've been installed.

Any better ideas?
May 14, 2015 at 10:25 AM