<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>wlwtemplate Work Item Rss Feed</title><link>http://www.codeplex.com/wlwtemplate/WorkItem/List.aspx</link><description>wlwtemplate Work Item Rss Description</description><item><title>Closed Issue: System.IO.DirectoryNotFoundException when template directory does not exist [1504]</title><link>http://wlwtemplate.codeplex.com/workitem/1504</link><description>As reported by Tony F&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;A colleague found this bug in your Dynamic Templates plugin. I sent him a template and he installed the plugin and then tried to install the template. The error he got was&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;System.IO.DirectoryNotFoundException&amp;#58; Could not find a part of the path &amp;#39;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;hodginw&amp;#92;Application Data&amp;#92;wlwtemplates&amp;#92;OCOT - Audio - Podcast.wlwtemplate&amp;#39;.&lt;br /&gt;   at System.IO.__Error.WinIOError&amp;#40;Int32 errorCode, String maybeFullPath&amp;#41;&lt;br /&gt;&amp;#160;&lt;br /&gt;I suspect that the template installation code requires the directory to exist. I also suspect that you missed this because most people try to create a template before trying to install one. If you create a template, the directory gets created.&lt;br /&gt;</description><author>jcheng</author><pubDate>Wed, 15 May 2013 00:21:59 GMT</pubDate><guid isPermaLink="false">Closed Issue: System.IO.DirectoryNotFoundException when template directory does not exist [1504] 20130515122159A</guid></item><item><title>Created Issue: A template for pasting code and cleaning unnecessary indenting [13613]</title><link>http://wlwtemplate.codeplex.com/workitem/13613</link><description>&amp;#60;&amp;#37; &lt;br /&gt;string&amp;#91;&amp;#93; lines &amp;#61; code.Split&amp;#40;new string&amp;#91;&amp;#93; &amp;#123; Environment.NewLine &amp;#125;, StringSplitOptions.None&amp;#41;&amp;#59;&lt;br /&gt;string&amp;#91;&amp;#93; formattedLines &amp;#61; new string&amp;#91;lines.Length&amp;#93;&amp;#59;&lt;br /&gt;int indent &amp;#61; 0&amp;#59;&lt;br /&gt;string firstLine &amp;#61; lines&amp;#91;0&amp;#93;&amp;#59;&lt;br /&gt;while &amp;#40;firstLine&amp;#91;indent&amp;#93; &amp;#61;&amp;#61; &amp;#39; &amp;#39; &amp;#124;&amp;#124; firstLine&amp;#91;indent&amp;#93; &amp;#61;&amp;#61; &amp;#39;&amp;#92;t&amp;#39;&amp;#41;&lt;br /&gt;&amp;#9;indent&amp;#43;&amp;#43;&amp;#59;&lt;br /&gt;&amp;#9;&lt;br /&gt;for &amp;#40;int i &amp;#61; 0&amp;#59; i &amp;#60; lines.Length&amp;#59; i &amp;#43;&amp;#43;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;string line &amp;#61; lines&amp;#91;i&amp;#93;&amp;#59;&lt;br /&gt;&amp;#9;if &amp;#40;line.Length &amp;#62; indent&amp;#41;&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;int pos &amp;#61; 0&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;while &amp;#40;pos &amp;#60; indent &amp;#38;&amp;#38; &amp;#40;line&amp;#91;pos&amp;#93; &amp;#61;&amp;#61; &amp;#39; &amp;#39; &amp;#124;&amp;#124; line&amp;#91;pos&amp;#93; &amp;#61;&amp;#61; &amp;#39;&amp;#92;t&amp;#39;&amp;#41; &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;pos &amp;#43;&amp;#43;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;formattedLines&amp;#91;i&amp;#93; &amp;#61; line.Substring&amp;#40;pos, line.Length-pos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;else&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;formattedLines&amp;#91;i&amp;#93; &amp;#61; line&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;string formattedCode &amp;#61; string.Join&amp;#40;Environment.NewLine, formattedLines&amp;#41;&amp;#59;&lt;br /&gt;formattedCode &amp;#61; formattedCode.Replace&amp;#40;&amp;#34;    &amp;#34;, &amp;#34;  &amp;#34;&amp;#41;.Replace&amp;#40;&amp;#34;&amp;#92;t&amp;#34;, &amp;#34;  &amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#37;&amp;#62;&lt;br /&gt;&amp;#60;pre name&amp;#61;&amp;#34;code&amp;#34; class&amp;#61;&amp;#34;brush&amp;#58; csharp&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;&amp;#37;&amp;#61; HtmlEncode&amp;#40;formattedCode&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;pre&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;p&amp;#62;Type here&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;</description><author>oazabir</author><pubDate>Sun, 29 May 2011 05:33:09 GMT</pubDate><guid isPermaLink="false">Created Issue: A template for pasting code and cleaning unnecessary indenting [13613] 20110529053309A</guid></item><item><title>COMMENTED ISSUE: System.IO.DirectoryNotFoundException when template directory does not exist</title><link>http://www.codeplex.com/wlwtemplate/WorkItem/View.aspx?WorkItemId=1504</link><description>As reported by Tony F&amp;#58;&lt;br /&gt;&lt;br /&gt;A colleague found this bug in your Dynamic Templates plugin. I sent him a template and he installed the plugin and then tried to install the template. The error he got was&amp;#58;&lt;br /&gt;&lt;br /&gt;System.IO.DirectoryNotFoundException&amp;#58; Could not find a part of the path &amp;#39;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;hodginw&amp;#92;Application Data&amp;#92;wlwtemplates&amp;#92;OCOT - Audio - Podcast.wlwtemplate&amp;#39;.&lt;br /&gt;   at System.IO.__Error.WinIOError&amp;#40;Int32 errorCode, String maybeFullPath&amp;#41;&lt;br /&gt;&lt;br /&gt;I suspect that the template installation code requires the directory to exist. I also suspect that you missed this because most people try to create a template before trying to install one. If you create a template, the directory gets created.&lt;br/&gt;Comments: ** Comment from web user: jcheng ** &lt;p&gt;Fixed in change set 7291.&lt;/p&gt;</description><author>jcheng</author><pubDate>Thu, 20 Sep 2007 23:45:04 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: System.IO.DirectoryNotFoundException when template directory does not exist 20070920114504P</guid></item><item><title>CREATED ISSUE: System.IO.DirectoryNotFoundException when template directory does not exist</title><link>http://www.codeplex.com/wlwtemplate/WorkItem/View.aspx?WorkItemId=1504</link><description>As reported by Tony F&amp;#58;&lt;br /&gt;&lt;br /&gt;A colleague found this bug in your Dynamic Templates plugin. I sent him a template and he installed the plugin and then tried to install the template. The error he got was&amp;#58;&lt;br /&gt;&lt;br /&gt;System.IO.DirectoryNotFoundException&amp;#58; Could not find a part of the path &amp;#39;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;hodginw&amp;#92;Application Data&amp;#92;wlwtemplates&amp;#92;OCOT - Audio - Podcast.wlwtemplate&amp;#39;.&lt;br /&gt;   at System.IO.__Error.WinIOError&amp;#40;Int32 errorCode, String maybeFullPath&amp;#41;&lt;br /&gt;&lt;br /&gt;I suspect that the template installation code requires the directory to exist. I also suspect that you missed this because most people try to create a template before trying to install one. If you create a template, the directory gets created.&lt;br/&gt;</description><author>jcheng</author><pubDate>Thu, 20 Sep 2007 23:43:20 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: System.IO.DirectoryNotFoundException when template directory does not exist 20070920114320P</guid></item></channel></rss>