<?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 Toolbox: Visual Basic as Template Language</title>
	<link>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/</link>
	<description>Me.Write(code)</description>
	<pubDate>Mon, 15 Mar 2010 06:05:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-2430</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Mon, 09 Nov 2009 23:08:47 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-2430</guid>
		<description>Ulu,

When you pointed this out, I went back and tested some scenarios. What may be happening here is that T4 invokes Visual Basic compiler without specifying the /optioninfer+ command line option. Although the documentation on MSDN says it is turned on by default, the actual behavior appears to be different. 

You may have to use explicit typing as a workaround. Perhaps this will be fixed in a future version of T4. 

P.S. I haven't noticed a difference between class feature and statement blocks regarding this behavior.

Oleg</description>
		<content:encoded><![CDATA[<p>Ulu,</p>
<p>When you pointed this out, I went back and tested some scenarios. What may be happening here is that T4 invokes Visual Basic compiler without specifying the /optioninfer+ command line option. Although the documentation on MSDN says it is turned on by default, the actual behavior appears to be different. </p>
<p>You may have to use explicit typing as a workaround. Perhaps this will be fixed in a future version of T4. </p>
<p>P.S. I haven&#8217;t noticed a difference between class feature and statement blocks regarding this behavior.</p>
<p>Oleg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ulu</title>
		<link>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-2427</link>
		<dc:creator>ulu</dc:creator>
		<pubDate>Mon, 09 Nov 2009 10:40:11 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-2427</guid>
		<description>I've set template language="VBv3.5", but I can't use type inference. For example, I have to set stuff like
For Each entityType As Type In typeList
instead of
For Each entityType In typeList
What am I doing wrong? Does it work in C#?

P.S. I just noticed it works in class feature blocks. What's the difference?

ulu</description>
		<content:encoded><![CDATA[<p>I&#8217;ve set template language=&#8221;VBv3.5&#8243;, but I can&#8217;t use type inference. For example, I have to set stuff like<br />
For Each entityType As Type In typeList<br />
instead of<br />
For Each entityType In typeList<br />
What am I doing wrong? Does it work in C#?</p>
<p>P.S. I just noticed it works in class feature blocks. What&#8217;s the difference?</p>
<p>ulu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-2419</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Thu, 05 Nov 2009 15:04:12 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-2419</guid>
		<description>Updated source code example to be compatible with version 9.10 of the T4 Toolbox.</description>
		<content:encoded><![CDATA[<p>Updated source code example to be compatible with version 9.10 of the T4 Toolbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-1915</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 10 Aug 2009 22:39:28 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-1915</guid>
		<description>I have admin rights on the machine but I will go through the interigation process if it is too much trouble. BTW love your blog it has been very helpful.</description>
		<content:encoded><![CDATA[<p>I have admin rights on the machine but I will go through the interigation process if it is too much trouble. BTW love your blog it has been very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-1914</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Mon, 10 Aug 2009 21:49:21 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-1914</guid>
		<description>Matt, Although I could provide you with a list of manual setup instructions, you will need permissions to modify Program Files directory and HKEY_LOCAL_MACHINE registry keys, which may also be restricted in your environment. Do you think your network administrator would be open to deploying the T4Toolbox.msi for you?</description>
		<content:encoded><![CDATA[<p>Matt, Although I could provide you with a list of manual setup instructions, you will need permissions to modify Program Files directory and HKEY_LOCAL_MACHINE registry keys, which may also be restricted in your environment. Do you think your network administrator would be open to deploying the T4Toolbox.msi for you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-1904</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 10 Aug 2009 03:48:02 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/07/t4-toolbox-visual-basic-as-template-language/#comment-1904</guid>
		<description>Hi Oleg,

I have a situation where as VB.NET developers our systems are locked down and can not execute MSI files, without having to fill out paperwork. Can I download a zip file amd manually configure and install the T4 toolbox with VS2008?</description>
		<content:encoded><![CDATA[<p>Hi Oleg,</p>
<p>I have a situation where as VB.NET developers our systems are locked down and can not execute MSI files, without having to fill out paperwork. Can I download a zip file amd manually configure and install the T4 toolbox with VS2008?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
