<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: How to generate multiple outputs from single T4 template</title>
	<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/</link>
	<description>Me.Write(code)</description>
	<pubDate>Sat, 13 Mar 2010 23:46:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Programaticamente falando &#187; T4: Gerando v&#225;rios arquivos</title>
		<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-2792</link>
		<dc:creator>Programaticamente falando &#187; T4: Gerando v&#225;rios arquivos</dc:creator>
		<pubDate>Fri, 08 Jan 2010 14:10:46 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-2792</guid>
		<description>[...] Quando usamos T4 pode ser necessário gerar vários arquivos com um uníco template, um exemplo clássico é quando estamos gerando o mapeamento para as tabelas do SGBD. Neste post vamos ver um exemplo de como gerar vários arquivos usando templates T4. O exemplo é baseado no post do Oleg. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Quando usamos T4 pode ser necessário gerar vários arquivos com um uníco template, um exemplo clássico é quando estamos gerando o mapeamento para as tabelas do SGBD. Neste post vamos ver um exemplo de como gerar vários arquivos usando templates T4. O exemplo é baseado no post do Oleg. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-1311</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 19 May 2009 12:19:50 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-1311</guid>
		<description>Hi!

I am using Rob Conery's Subsonic template but the section in the middle where he writes out a table of all properties in his List.tt template I want to output into a UserControl.ascx but cannot get it to work. Could you help?</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I am using Rob Conery&#8217;s Subsonic template but the section in the middle where he writes out a table of all properties in his List.tt template I want to output into a UserControl.ascx but cannot get it to work. Could you help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitri</title>
		<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-1279</link>
		<dc:creator>Dmitri</dc:creator>
		<pubDate>Thu, 30 Apr 2009 15:04:40 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-1279</guid>
		<description>I'm experimenting with the attached project files, but SaveOutput.tt doesn't seem to produce any output.</description>
		<content:encoded><![CDATA[<p>I&#8217;m experimenting with the attached project files, but SaveOutput.tt doesn&#8217;t seem to produce any output.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-857</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Tue, 09 Dec 2008 11:22:35 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-857</guid>
		<description>Glenn, Visual Studio always recreates the standard output file after execution of the T4 template is finished. I haven't found a way to suppress it.</description>
		<content:encoded><![CDATA[<p>Glenn, Visual Studio always recreates the standard output file after execution of the T4 template is finished. I haven&#8217;t found a way to suppress it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn</title>
		<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-845</link>
		<dc:creator>Glenn</dc:creator>
		<pubDate>Thu, 04 Dec 2008 15:29:50 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-845</guid>
		<description>Hi,

When i use DeleteOldOutputs(); This function deletes the standard output file for the t4 template. But this files isn't removed from the solution.

Any ideas?
Thx in advance</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>When i use DeleteOldOutputs(); This function deletes the standard output file for the t4 template. But this files isn&#8217;t removed from the solution.</p>
<p>Any ideas?<br />
Thx in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: derek wilson&#187; Blog Archive &#187; SQLite foreign key constraint generator using T4</title>
		<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-743</link>
		<dc:creator>derek wilson&#187; Blog Archive &#187; SQLite foreign key constraint generator using T4</dc:creator>
		<pubDate>Mon, 10 Nov 2008 19:53:12 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-743</guid>
		<description>[...] In this instance we generate all the SQL into one file, if we wanted to we could easily generate each constraint into its own file, Oleg Sych has an example of how to do this. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] In this instance we generate all the SQL into one file, if we wanted to we could easily generate each constraint into its own file, Oleg Sych has an example of how to do this. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel Ajho</title>
		<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-725</link>
		<dc:creator>Miguel Ajho</dc:creator>
		<pubDate>Wed, 05 Nov 2008 18:12:50 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-725</guid>
		<description>One thing I found while trying this out. Could be usefull to anyone using foreighn characters, on the lines with File.WriteAllText(), it is usefull to add the encoding parameter at the end, so that the accent marks and other characters can apear correctly. In my case, I was generating aspx files, and all though the text output from the transformation was correct, the rendered output on the browser wasn't. Adding System.Text.Encoding.UTF-8 at the end of the parameter list on the WriteAllText resolved the problem.

Thanks for this great article, which helpes ALOT!!!</description>
		<content:encoded><![CDATA[<p>One thing I found while trying this out. Could be usefull to anyone using foreighn characters, on the lines with File.WriteAllText(), it is usefull to add the encoding parameter at the end, so that the accent marks and other characters can apear correctly. In my case, I was generating aspx files, and all though the text output from the transformation was correct, the rendered output on the browser wasn&#8217;t. Adding System.Text.Encoding.UTF-8 at the end of the parameter list on the WriteAllText resolved the problem.</p>
<p>Thanks for this great article, which helpes ALOT!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-386</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Sun, 10 Aug 2008 14:22:00 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-386</guid>
		<description>It's hard to tell without knowing how you adapted the code to run in a console program. If you implemented a custom host, it may not be resolving assembly references properly.</description>
		<content:encoded><![CDATA[<p>It&#8217;s hard to tell without knowing how you adapted the code to run in a console program. If you implemented a custom host, it may not be resolving assembly references properly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Agustín</title>
		<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-384</link>
		<dc:creator>Agustín</dc:creator>
		<pubDate>Sat, 09 Aug 2008 19:03:37 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-384</guid>
		<description>I have a question now, regarding the topic you mention here. I tried to "take outside" the ProcessTemplate procedure, right into a C# console program. When I process a template, an error CS0006: Could not find metafile "System.XML" (I´m using XML inside the template I´m trying to process)... any idea why is that?
Greetings</description>
		<content:encoded><![CDATA[<p>I have a question now, regarding the topic you mention here. I tried to &#8220;take outside&#8221; the ProcessTemplate procedure, right into a C# console program. When I process a template, an error CS0006: Could not find metafile &#8220;System.XML&#8221; (I´m using XML inside the template I´m trying to process)&#8230; any idea why is that?<br />
Greetings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Agustín</title>
		<link>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-380</link>
		<dc:creator>Agustín</dc:creator>
		<pubDate>Fri, 08 Aug 2008 13:03:54 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/03/how-to-generate-multiple-outputs-from-single-t4-template/#comment-380</guid>
		<description>Well, as a partner of mine said "I've seen light!". The article is great as a very handful example of running code for text-based template code generation, and helps me a lot in order to understand the concept.
I repeat, excellent work!!!</description>
		<content:encoded><![CDATA[<p>Well, as a partner of mine said &#8220;I&#8217;ve seen light!&#8221;. The article is great as a very handful example of running code for text-based template code generation, and helps me a lot in order to understand the concept.<br />
I repeat, excellent work!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
