<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-5602263760491785758.post5176849533324372293..comments</id><updated>2012-01-19T02:06:30.291-08:00</updated><category term='Personal'/><category term='Threading'/><category term='Visual Studio'/><category term='Windows Forms'/><category term='WebService'/><category term='Page Method'/><category term='Javascript'/><category term='AJAX'/><category term='Navigation'/><category term='Code generation'/><category term='AjaxControlToolkit'/><category term='WPF'/><category term='Silverlight'/><category term='.NET'/><category term='ASP.NET'/><title type='text'>Comments on DevArchive.net Blog: Code Generation Using Custom Item Template, Custom...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.devarchive.net/feeds/5176849533324372293/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default'/><link rel='alternate' type='text/html' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html'/><author><name>Kirill Chilingarashvili</name><uri>http://www.blogger.com/profile/09906215698720468631</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5602263760491785758.post-8871027475179015294</id><published>2012-01-19T02:04:49.736-08:00</published><updated>2012-01-19T02:04:49.736-08:00</updated><title type='text'>Kirill,
Actually I am not getting how you gets the...</title><content type='html'>Kirill,&lt;br /&gt;Actually I am not getting how you gets the dll from the Windows application and how you are registering your dll into the GAC directly after post build. Will you plz explain this in some detail?&lt;br /&gt;     To get the dll I have another Class Library project. Now my application works fine but I have an issue while updating the dll. If I made some changes to my dll then the new changes are not reflected in the Wizard. For this I have unregistered the previous dll and registered the new one. I think the previous dll gets stored in the memory.&lt;br /&gt;     Please provide me solution for this issue and plz provide  explaination for the above que in first paragraph..!&lt;br /&gt;&lt;br /&gt;Thanks &amp;amp; Regards,&lt;br /&gt;Mayur Mahajan</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/8871027475179015294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/8871027475179015294'/><link rel='alternate' type='text/html' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html?showComment=1326967489736#c8871027475179015294' title=''/><author><name>Mayur Mahajan</name><uri>http://www.blogger.com/profile/12541528659657197028</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html' ref='tag:blogger.com,1999:blog-5602263760491785758.post-5176849533324372293' source='http://www.blogger.com/feeds/5602263760491785758/posts/default/5176849533324372293' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-575547297'/></entry><entry><id>tag:blogger.com,1999:blog-5602263760491785758.post-6479907809412746702</id><published>2012-01-17T21:28:26.370-08:00</published><updated>2012-01-17T21:28:26.370-08:00</updated><title type='text'>Hi Mayur

Templating Engine can reference assembli...</title><content type='html'>Hi Mayur&lt;br /&gt;&lt;br /&gt;Templating Engine can reference assemblies from GAC only - as I remember&lt;br /&gt;If you download code for this article - you will see that in post build event the assemblies are registered in GAC&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Kirill</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/6479907809412746702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/6479907809412746702'/><link rel='alternate' type='text/html' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html?showComment=1326864506370#c6479907809412746702' title=''/><author><name>Kirill Chilingarashvili</name><uri>http://www.blogger.com/profile/09906215698720468631</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html' ref='tag:blogger.com,1999:blog-5602263760491785758.post-5176849533324372293' source='http://www.blogger.com/feeds/5602263760491785758/posts/default/5176849533324372293' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-223860038'/></entry><entry><id>tag:blogger.com,1999:blog-5602263760491785758.post-1649326010972609887</id><published>2012-01-17T07:51:48.961-08:00</published><updated>2012-01-17T07:51:48.961-08:00</updated><title type='text'>Hello,

     I am creating a Windows Application. ...</title><content type='html'>Hello,&lt;br /&gt;&lt;br /&gt;     I am creating a Windows Application. In that I am using T4 Templates.&lt;br /&gt;     In T4 templates I have a code which uses some of the static properties and methods of some class from the same project. But when I tries to add reference to that class I get the error as : &amp;quot;[b]Compiling transformation: Invalid reference option: &amp;#39;WindowsWIzard&amp;#39; -- cannot reference directories[/b]&amp;quot;&lt;br /&gt;      The code I have written in .tt file is as follows :&lt;br /&gt;&lt;br /&gt;&amp;lt;#@ template language=&amp;quot;C#&amp;quot; hostspecific=&amp;quot;True&amp;quot; debug=&amp;quot;True&amp;quot; #&amp;gt; &lt;br /&gt;&amp;lt;#@ output extension=&amp;quot;?&amp;quot; #&amp;gt; &lt;br /&gt;&amp;lt;#@ assembly name=&amp;quot;Microsoft.VisualBasic&amp;quot; #&amp;gt;&lt;br /&gt;&amp;lt;#@ assembly name=&amp;quot;WindowsWizard&amp;quot; #&amp;gt;&lt;br /&gt;&amp;lt;#@ import namespace=&amp;quot;WindowsWizard&amp;quot; #&amp;gt;&lt;br /&gt;&amp;lt;#@ import namespace=&amp;quot;WindowsWizard.Templates&amp;quot; #&amp;gt;&lt;br /&gt;&amp;lt;#@ include file=&amp;quot;T4Toolbox.tt&amp;quot; #&amp;gt;&lt;br /&gt;&amp;lt;#@ include file=&amp;quot;CrudProcedureGenerator.tt&amp;quot; #&amp;gt;&lt;br /&gt;&amp;lt;#@ include file=&amp;quot;DeleteProcedureTemplate.tt&amp;quot; #&amp;gt;&lt;br /&gt;&amp;lt;#@ include file=&amp;quot;InsertProcedureTemplate.tt&amp;quot; #&amp;gt;&lt;br /&gt;&amp;lt;#@ include file=&amp;quot;UpdateProcedureTemplate.tt&amp;quot; #&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;# &lt;br /&gt; &lt;br /&gt;    CrudProcedureGenerator generator = new CrudProcedureGenerator(); &lt;br /&gt;    generator.DatabaseName = GenerateCode.SendDBName;&lt;br /&gt;    generator.Run();&lt;br /&gt;#&amp;gt;&lt;br /&gt;&lt;br /&gt;Here the code block in the standard directives is working fine as I have checked it in another demo application. It is refering above .tt files in include directive. WindowsWIzard is the name of my project i.e. assembly.&lt;br /&gt;&lt;br /&gt;Am I doing something wrong? How can I refer refer methods from another Class into the template?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/1649326010972609887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/1649326010972609887'/><link rel='alternate' type='text/html' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html?showComment=1326815508961#c1649326010972609887' title=''/><author><name>Mayur Mahajan</name><uri>http://www.blogger.com/profile/12541528659657197028</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html' ref='tag:blogger.com,1999:blog-5602263760491785758.post-5176849533324372293' source='http://www.blogger.com/feeds/5602263760491785758/posts/default/5176849533324372293' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-575547297'/></entry><entry><id>tag:blogger.com,1999:blog-5602263760491785758.post-4961657413522572099</id><published>2012-01-12T04:46:32.932-08:00</published><updated>2012-01-12T04:46:32.932-08:00</updated><title type='text'>Thanks a lot Kirill. The above link does not cover...</title><content type='html'>Thanks a lot Kirill. The above link does not covers much about what I wanted but as you suggested I searched for &amp;quot;IWizard and how to use it&amp;quot; and then I got one link which I should mention here for others people trying to that. The link is : &amp;quot;http://www.bluelemoncode.com/post/2012/01/05/Creating-custom-project-and-file-template-with-wizard-for-Visual-Studio.aspx&amp;quot;.&lt;br /&gt;This link is very good and explains well about the Wizard creation for the Templates.&lt;br /&gt;Also go through the link &amp;quot;http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html&amp;quot;.&lt;br /&gt;&lt;br /&gt;Thanks a lot once again Kirill.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/4961657413522572099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/4961657413522572099'/><link rel='alternate' type='text/html' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html?showComment=1326372392932#c4961657413522572099' title=''/><author><name>Mayur Mahajan</name><uri>http://www.blogger.com/profile/12541528659657197028</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html' ref='tag:blogger.com,1999:blog-5602263760491785758.post-5176849533324372293' source='http://www.blogger.com/feeds/5602263760491785758/posts/default/5176849533324372293' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-575547297'/></entry><entry><id>tag:blogger.com,1999:blog-5602263760491785758.post-7378004385744242739</id><published>2012-01-04T10:30:55.351-08:00</published><updated>2012-01-04T10:30:55.351-08:00</updated><title type='text'>Hi Mayur,

you can look for more info here:
http:/...</title><content type='html'>Hi Mayur,&lt;br /&gt;&lt;br /&gt;you can look for more info here:&lt;br /&gt;http://msdn.microsoft.com/en-us/magazine/cc188697.aspx&lt;br /&gt;please search IWIzard and how to use it.&lt;br /&gt;I did not read the article but it seems it covers that.&lt;br /&gt;I used another reasource from MSDN when created this - but that resource disappeared from msdn :(&lt;br /&gt;That is why the link does not work anymore&lt;br /&gt;&lt;br /&gt;anyway try new link - it seems to cover that as well&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Kirill</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/7378004385744242739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/7378004385744242739'/><link rel='alternate' type='text/html' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html?showComment=1325701855351#c7378004385744242739' title=''/><author><name>Kirill Chilingarashvili</name><uri>http://www.blogger.com/profile/09906215698720468631</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html' ref='tag:blogger.com,1999:blog-5602263760491785758.post-5176849533324372293' source='http://www.blogger.com/feeds/5602263760491785758/posts/default/5176849533324372293' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-223860038'/></entry><entry><id>tag:blogger.com,1999:blog-5602263760491785758.post-2884861468142430019</id><published>2012-01-04T07:14:11.259-08:00</published><updated>2012-01-04T07:14:11.259-08:00</updated><title type='text'>Kirill,

the above post is the best post of all. I...</title><content type='html'>Kirill,&lt;br /&gt;&lt;br /&gt;the above post is the best post of all. I wanted to do the same thing and after reading your post i got some hope that this can be done. But I am not getting one thing that :&lt;br /&gt;&lt;br /&gt;How do you call your wizard when we select the template from &amp;quot;File--&amp;gt;Add new Item&amp;quot;. I wanted to call my own User Interface. How should I achieve this?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/2884861468142430019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/2884861468142430019'/><link rel='alternate' type='text/html' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html?showComment=1325690051259#c2884861468142430019' title=''/><author><name>Mayur Mahajan</name><uri>http://www.blogger.com/profile/12541528659657197028</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html' ref='tag:blogger.com,1999:blog-5602263760491785758.post-5176849533324372293' source='http://www.blogger.com/feeds/5602263760491785758/posts/default/5176849533324372293' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-575547297'/></entry><entry><id>tag:blogger.com,1999:blog-5602263760491785758.post-1521293672627722481</id><published>2010-12-07T05:48:44.063-08:00</published><updated>2010-12-07T05:48:44.063-08:00</updated><title type='text'>Great! Thank you - it is very good post.</title><content type='html'>Great! Thank you - it is very good post.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/1521293672627722481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5602263760491785758/5176849533324372293/comments/default/1521293672627722481'/><link rel='alternate' type='text/html' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html?showComment=1291729724063#c1521293672627722481' title=''/><author><name>XNA Gamer</name><uri>http://www.blogger.com/profile/07209691595502469158</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_xMAbJAHUhSw/SvADAvjunZI/AAAAAAAAAYI/W6J_OcGjpvI/S220/IMG00969%5B1%5D.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.devarchive.net/2010/10/code-generation-using-custom-item.html' ref='tag:blogger.com,1999:blog-5602263760491785758.post-5176849533324372293' source='http://www.blogger.com/feeds/5602263760491785758/posts/default/5176849533324372293' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1553156582'/></entry></feed>
