<?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: T4 Tutorial: Creating your first code generator</title>
	<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/</link>
	<description>this.Write(code);</description>
	<pubDate>Wed, 07 Jan 2009 12:10:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: jeremy simmons</title>
		<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-858</link>
		<dc:creator>jeremy simmons</dc:creator>
		<pubDate>Wed, 10 Dec 2008 03:23:04 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-858</guid>
		<description>You can pass in a server name and instance to the Server constructor. 
In my case it was Server server = new Server(".\\SQLEXPRESS");</description>
		<content:encoded><![CDATA[<p>You can pass in a server name and instance to the Server constructor.<br />
In my case it was Server server = new Server(&#8221;.\\SQLEXPRESS&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crews</title>
		<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-820</link>
		<dc:creator>John Crews</dc:creator>
		<pubDate>Sun, 23 Nov 2008 14:51:10 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-820</guid>
		<description>Oleg,

Sorry I haven't responded.  I have been extremely busy and this is the first time I have had time to get back into T4.

Thank you the solution of my extensions.  I will try that and let you know the outcome.

Also, I understand you will be speaking at the Tallahassee .Net User's Group in December.  I look forward to your session and hope I have enough knowledge of T4 to discuss this methodology with you.

Thanks,

John</description>
		<content:encoded><![CDATA[<p>Oleg,</p>
<p>Sorry I haven&#8217;t responded.  I have been extremely busy and this is the first time I have had time to get back into T4.</p>
<p>Thank you the solution of my extensions.  I will try that and let you know the outcome.</p>
<p>Also, I understand you will be speaking at the Tallahassee .Net User&#8217;s Group in December.  I look forward to your session and hope I have enough knowledge of T4 to discuss this methodology with you.</p>
<p>Thanks,</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor loginov</title>
		<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-811</link>
		<dc:creator>Igor loginov</dc:creator>
		<pubDate>Fri, 21 Nov 2008 12:20:45 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-811</guid>
		<description>Sorry about my previous question. No problem now, just a great surprise "How simple" :) Thanks for these tutorials.</description>
		<content:encoded><![CDATA[<p>Sorry about my previous question. No problem now, just a great surprise &#8220;How simple&#8221; :) Thanks for these tutorials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor loginov</title>
		<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-806</link>
		<dc:creator>Igor loginov</dc:creator>
		<pubDate>Thu, 20 Nov 2008 13:27:47 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-806</guid>
		<description>Oleg, could you, please, clear one thing to me? I've just tried to re-produce your steps. How can I get CodeGeneration selector when adding new item? I use VS2008, I have Visual Studio SDK installed, but there is no CodeGeneration template. What are other requirements?

Thank you.</description>
		<content:encoded><![CDATA[<p>Oleg, could you, please, clear one thing to me? I&#8217;ve just tried to re-produce your steps. How can I get CodeGeneration selector when adding new item? I use VS2008, I have Visual Studio SDK installed, but there is no CodeGeneration template. What are other requirements?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-604</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Fri, 17 Oct 2008 16:55:09 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-604</guid>
		<description>Thanks Corey. You can also use T4 with Visual Basic, simply change language parameter of the template directive to "VB" and write Visual Basic code in the code blocks.</description>
		<content:encoded><![CDATA[<p>Thanks Corey. You can also use T4 with Visual Basic, simply change language parameter of the template directive to &#8220;VB&#8221; and write Visual Basic code in the code blocks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey Furman</title>
		<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-603</link>
		<dc:creator>Corey Furman</dc:creator>
		<pubDate>Fri, 17 Oct 2008 16:49:56 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-603</guid>
		<description>This seems like a great tool - I wish it was available for Visual Basic.Net.</description>
		<content:encoded><![CDATA[<p>This seems like a great tool - I wish it was available for Visual Basic.Net.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-558</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Mon, 13 Oct 2008 12:52:35 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-558</guid>
		<description>John, if I understand you correctly, you have an extension method you want to use in template code. You will need to set language parameter of the template directive to "C#v3.5" or "VBv3.5", otherwise T4 engine will use an older version of the compiler that doesn't support extension methods.</description>
		<content:encoded><![CDATA[<p>John, if I understand you correctly, you have an extension method you want to use in template code. You will need to set language parameter of the template directive to &#8220;C#v3.5&#8243; or &#8220;VBv3.5&#8243;, otherwise T4 engine will use an older version of the compiler that doesn&#8217;t support extension methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crews</title>
		<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-555</link>
		<dc:creator>John Crews</dc:creator>
		<pubDate>Sun, 12 Oct 2008 23:54:26 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-555</guid>
		<description>Oleg,
I wrote an extension to the string object and I am trying to use it in a .tt file but I get an error.  Does .tt recongize custom extensions?</description>
		<content:encoded><![CDATA[<p>Oleg,<br />
I wrote an extension to the string object and I am trying to use it in a .tt file but I get an error.  Does .tt recongize custom extensions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Kohler</title>
		<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-482</link>
		<dc:creator>Paul Kohler</dc:creator>
		<pubDate>Tue, 16 Sep 2008 05:53:59 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-482</guid>
		<description>Interesting! It looks a bit like codesmith templates actually...</description>
		<content:encoded><![CDATA[<p>Interesting! It looks a bit like codesmith templates actually&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-459</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Sat, 06 Sep 2008 16:19:19 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/#comment-459</guid>
		<description>Alex,

I blogged about passing parameters to a template from an external tool a couple of months ago. Check out http://www.olegsych.com/2008/04/t4-template-design-standalone-template/.


To answer your second question, I don't think translating CodeSmith templates on the fly is viable. They are different enough to make such translation very complex. On the other hand, creating T4 templates from scratch is easy. I would guess that the effort required to recreate CodeSmith templates in T4 is less than the effort required to create an automated translation tool. 


Hope this helps</description>
		<content:encoded><![CDATA[<p>Alex,</p>
<p>I blogged about passing parameters to a template from an external tool a couple of months ago. Check out <a href="http://www.olegsych.com/2008/04/t4-template-design-standalone-template/." rel="nofollow">http://www.olegsych.com/2008/04/t4-template-design-standalone-template/.</a></p>
<p>To answer your second question, I don&#8217;t think translating CodeSmith templates on the fly is viable. They are different enough to make such translation very complex. On the other hand, creating T4 templates from scratch is easy. I would guess that the effort required to recreate CodeSmith templates in T4 is less than the effort required to create an automated translation tool. </p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
</channel>
</rss>
