<?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: Understanding T4: &#60;#@ property #&#62; directive</title>
	<link>http://www.olegsych.com/2008/04/t4-property-directive/</link>
	<description>Me.Write(code)</description>
	<pubDate>Fri, 12 Mar 2010 00:42:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2008/04/t4-property-directive/#comment-1864</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Tue, 04 Aug 2009 20:41:08 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-property-directive/#comment-1864</guid>
		<description>Mark,

It sounds like you are using T4 Toolbox and trying to create partial .tt files with Template and Generator classes. These files are not meant to be transformed by T4. Click &lt;a href="http://www.olegsych.com/2008/09/t4-tutorial-creating-reusable-code-generation-templates/" rel="nofollow"&gt;here&lt;/a&gt; for details.

Hope this helps,
Oleg</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>It sounds like you are using T4 Toolbox and trying to create partial .tt files with Template and Generator classes. These files are not meant to be transformed by T4. Click <a href="http://www.olegsych.com/2008/09/t4-tutorial-creating-reusable-code-generation-templates/" rel="nofollow">here</a> for details.</p>
<p>Hope this helps,<br />
Oleg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Kamoski</title>
		<link>http://www.olegsych.com/2008/04/t4-property-directive/#comment-1863</link>
		<dc:creator>Mark Kamoski</dc:creator>
		<pubDate>Tue, 04 Aug 2009 20:04:54 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-property-directive/#comment-1863</guid>
		<description>Please help. 

I keep getting these CTEs...

Compiling transformation: The type or namespace name 'Template' could not be found

Compiling transformation: The type or namespace name 'Generator' could not be found</description>
		<content:encoded><![CDATA[<p>Please help. </p>
<p>I keep getting these CTEs&#8230;</p>
<p>Compiling transformation: The type or namespace name &#8216;Template&#8217; could not be found</p>
<p>Compiling transformation: The type or namespace name &#8216;Generator&#8217; could not be found</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.olegsych.com/2008/04/t4-property-directive/#comment-1284</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sat, 02 May 2009 22:05:02 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-property-directive/#comment-1284</guid>
		<description>We have provided a standard (DSL Tools) Text tempalte that is able to call a GAX Template and pass in the parameters very nicely.
Please take a look here:

&lt;a href="http://tangibleengineering.blogspot.com/2009/05/how-to-call-gax-based-t4-templates-that.html" rel="nofollow"&gt;How to call GAX-based T4 Templates (that have a Property Directive) from standard T4 Templates&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>We have provided a standard (DSL Tools) Text tempalte that is able to call a GAX Template and pass in the parameters very nicely.<br />
Please take a look here:</p>
<p><a href="http://tangibleengineering.blogspot.com/2009/05/how-to-call-gax-based-t4-templates-that.html" rel="nofollow">How to call GAX-based T4 Templates (that have a Property Directive) from standard T4 Templates</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: P.J Weber</title>
		<link>http://www.olegsych.com/2008/04/t4-property-directive/#comment-1205</link>
		<dc:creator>P.J Weber</dc:creator>
		<pubDate>Thu, 19 Mar 2009 17:45:40 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-property-directive/#comment-1205</guid>
		<description>ok...
i figured it out.
my property was:


and should be:

&#60;#@ property name="Tables" type="System.Collections.Generic.List, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" processor="PropertyProcessor" #&#62;

Tanks for your great blogs :)</description>
		<content:encoded><![CDATA[<p>ok&#8230;<br />
i figured it out.<br />
my property was:</p>
<p>and should be:</p>
<p>&lt;#@ property name=&#8221;Tables&#8221; type=&#8221;System.Collections.Generic.List, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&#8243; processor=&#8221;PropertyProcessor&#8221; #&gt;</p>
<p>Tanks for your great blogs :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: P.J Weber</title>
		<link>http://www.olegsych.com/2008/04/t4-property-directive/#comment-1204</link>
		<dc:creator>P.J Weber</dc:creator>
		<pubDate>Thu, 19 Mar 2009 17:22:50 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-property-directive/#comment-1204</guid>
		<description>Hi Oleg

how can i pass a List to the Template?
i always get the error "Compiling transformation: Type expected"

can you help me out with this?

thanks in advice</description>
		<content:encoded><![CDATA[<p>Hi Oleg</p>
<p>how can i pass a List to the Template?<br />
i always get the error &#8220;Compiling transformation: Type expected&#8221;</p>
<p>can you help me out with this?</p>
<p>thanks in advice</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Designing Out Loud in the .NET Space : How to Pass Parameters to the T4 Code Generator: Stuff Found on the Web</title>
		<link>http://www.olegsych.com/2008/04/t4-property-directive/#comment-632</link>
		<dc:creator>Designing Out Loud in the .NET Space : How to Pass Parameters to the T4 Code Generator: Stuff Found on the Web</dc:creator>
		<pubDate>Thu, 23 Oct 2008 16:31:42 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-property-directive/#comment-632</guid>
		<description>[...] Sych on Understanding T4: &#60;#@ property #&#62; directive: might be useful, but seems to be aimed at a part of Visual Studio calling T4.&#160; Not sure that [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Sych on Understanding T4: &lt;#@ property #&gt; directive: might be useful, but seems to be aimed at a part of Visual Studio calling T4.&#160; Not sure that [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2008/04/t4-property-directive/#comment-411</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Mon, 25 Aug 2008 21:23:33 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-property-directive/#comment-411</guid>
		<description>Thanks, Ali. Yes, it is possible to use T4 templates hosted in a standalone application. &lt;a href="http://msdn.microsoft.com/en-us/library/bb126461.aspx" rel="nofollow"&gt;TextTransform.exe&lt;/a&gt; is an example of such an application. Unfortunately, it doesn't provide a built-in mechanism for passing parameter values. You could pass parameters via an external (XML?) file referenced in the template itself. Otherwise, you could build a custom T4 &lt;a href="http://www.olegsych.com/2008/05/t4-architecture/" rel="nofollow"&gt;Host&lt;/a&gt; which could provide this capability similar to how GAT host does it with the arguments dictionary.</description>
		<content:encoded><![CDATA[<p>Thanks, Ali. Yes, it is possible to use T4 templates hosted in a standalone application. <a href="http://msdn.microsoft.com/en-us/library/bb126461.aspx" rel="nofollow">TextTransform.exe</a> is an example of such an application. Unfortunately, it doesn&#8217;t provide a built-in mechanism for passing parameter values. You could pass parameters via an external (XML?) file referenced in the template itself. Otherwise, you could build a custom T4 <a href="http://www.olegsych.com/2008/05/t4-architecture/" rel="nofollow">Host</a> which could provide this capability similar to how GAT host does it with the arguments dictionary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ali takavcı</title>
		<link>http://www.olegsych.com/2008/04/t4-property-directive/#comment-400</link>
		<dc:creator>ali takavcı</dc:creator>
		<pubDate>Thu, 21 Aug 2008 14:43:37 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-property-directive/#comment-400</guid>
		<description>hi oleg,
thanks for the articles and posts, think that they are useful and clear.
i wonder if it is possible to use t4 templates hosted in a standalone application and provide on the fly parameter passing mechanism (by engine or host)</description>
		<content:encoded><![CDATA[<p>hi oleg,<br />
thanks for the articles and posts, think that they are useful and clear.<br />
i wonder if it is possible to use t4 templates hosted in a standalone application and provide on the fly parameter passing mechanism (by engine or host)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Davids</title>
		<link>http://www.olegsych.com/2008/04/t4-property-directive/#comment-239</link>
		<dc:creator>Brandon Davids</dc:creator>
		<pubDate>Mon, 30 Jun 2008 20:12:57 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-property-directive/#comment-239</guid>
		<description>I was getting an EntryPointNotFoundException on the line:

string output = engine.ProcessTemplate(template, host);

I had to dig out Microsoft.VisualStudio.TextTemplating.dll version 8.1.0.0 to get that line to work.</description>
		<content:encoded><![CDATA[<p>I was getting an EntryPointNotFoundException on the line:</p>
<p>string output = engine.ProcessTemplate(template, host);</p>
<p>I had to dig out Microsoft.VisualStudio.TextTemplating.dll version 8.1.0.0 to get that line to work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
