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

Item Template question. How to set T4 template output as content of ProjectItem?

$
0
0

How can the project item output of an Item Template be set to the output of a T4 template?

I have a Visual Studio Item Template project.  Then added a VSIX project with a class that implements the IWizard interface. In the RunStarted method I prompt for parameters. Then run ITextTemplating.ProcessTemplate. How to set the output of ProcessTemplate to be the contents of the ProjectItem of the Item Template?

thanks,



Viewing all articles
Browse latest Browse all 4410

Trending Articles



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