<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>CUL Issue Tracker Rss Feed</title><link>http://www.codeplex.com/CUL/WorkItem/List.aspx</link><description>CUL Issue Tracker Rss Description</description><item><title>Closed Issue: more extensions for enumerables / trees [16178]</title><link>http://cul.codeplex.com/workitem/16178</link><description>hi,&lt;br /&gt;&lt;br /&gt;I created some lambda extension functions for enumerables, trees and winforms. Because I just found your project, I had started my own &amp;#40;http&amp;#58;&amp;#47;&amp;#47;lambdaextensions.codeplex.com&amp;#47;&amp;#41; &lt;br /&gt;&lt;br /&gt;as my project is very small, I would be happy to distribute my extensions to your big library. the small project contains extension functions for&amp;#58;&lt;br /&gt;- Tree Traversing extensions &amp;#40;for example TreeView Nodes, but also user defined tree structures&amp;#41;&lt;br /&gt;- List &amp;#38; Enumerable Synchronization &amp;#40;IList and IEnumerable Syncinc via lambda function, for example syncing the ListViewItems list with a user defined enumerable&amp;#41; &lt;br /&gt;- Background operations, a dialog field with a progress bar for the time consuming processing of a list &lt;br /&gt;&lt;br /&gt;Comments: Not an issue</description><author>JaCraig</author><pubDate>Sat, 29 Sep 2012 00:29:00 GMT</pubDate><guid isPermaLink="false">Closed Issue: more extensions for enumerables / trees [16178] 20120929122900A</guid></item><item><title>Commented Issue: more extensions for enumerables / trees [16178]</title><link>http://cul.codeplex.com/workitem/16178</link><description>hi,&lt;br /&gt;&lt;br /&gt;I created some lambda extension functions for enumerables, trees and winforms. Because I just found your project, I had started my own &amp;#40;http&amp;#58;&amp;#47;&amp;#47;lambdaextensions.codeplex.com&amp;#47;&amp;#41; &lt;br /&gt;&lt;br /&gt;as my project is very small, I would be happy to distribute my extensions to your big library. the small project contains extension functions for&amp;#58;&lt;br /&gt;- Tree Traversing extensions &amp;#40;for example TreeView Nodes, but also user defined tree structures&amp;#41;&lt;br /&gt;- List &amp;#38; Enumerable Synchronization &amp;#40;IList and IEnumerable Syncinc via lambda function, for example syncing the ListViewItems list with a user defined enumerable&amp;#41; &lt;br /&gt;- Background operations, a dialog field with a progress bar for the time consuming processing of a list &lt;br /&gt;&lt;br /&gt;Comments: First, I&amp;#39;m going to close this because this isn&amp;#39;t really an issue &amp;#40;probably should be under discussions&amp;#41;. But second, I do accept pull requests. So you should be able to fork the code and make changes. That being said, since you&amp;#39;re project is using MS-PL for the license, I would need to check how that would effect things &amp;#40;luckily I have free legal support that I can hit up&amp;#41;.</description><author>JaCraig</author><pubDate>Sat, 29 Sep 2012 00:28:48 GMT</pubDate><guid isPermaLink="false">Commented Issue: more extensions for enumerables / trees [16178] 20120929122848A</guid></item><item><title>Edited Issue: more extensions for enumerables / trees [16178]</title><link>http://cul.codeplex.com/workitem/16178</link><description>hi,&lt;br /&gt;&lt;br /&gt;I created some lambda extension functions for enumerables, trees and winforms. Because I just found your project, I had started my own &amp;#40;http&amp;#58;&amp;#47;&amp;#47;lambdaextensions.codeplex.com&amp;#47;&amp;#41; &lt;br /&gt;&lt;br /&gt;as my project is very small, I would be happy to distribute my extensions to your big library. the small project contains extension functions for&amp;#58;&lt;br /&gt;- Tree Traversing extensions &amp;#40;for example TreeView Nodes, but also user defined tree structures&amp;#41;&lt;br /&gt;- List &amp;#38; Enumerable Synchronization &amp;#40;IList and IEnumerable Syncinc via lambda function, for example syncing the ListViewItems list with a user defined enumerable&amp;#41; &lt;br /&gt;- Background operations, a dialog field with a progress bar for the time consuming processing of a list &lt;br /&gt;&lt;br /&gt;</description><author>nollsen</author><pubDate>Thu, 27 Sep 2012 19:28:44 GMT</pubDate><guid isPermaLink="false">Edited Issue: more extensions for enumerables / trees [16178] 20120927072844P</guid></item><item><title>Created Issue: more extensions for enumerables / trees [16178]</title><link>http://cul.codeplex.com/workitem/16178</link><description>hi,&lt;br /&gt;&lt;br /&gt;I created some lambda extension functions for enumerables, trees and winforms. Because I just found your project, I had started my own &amp;#40;http&amp;#58;&amp;#47;&amp;#47;lambdaextensions.codeplex.com&amp;#47;&amp;#41; &lt;br /&gt;&lt;br /&gt;as my project is very small, I would be happy to distribute my extensions to your big library. the small project contains extension functions for&amp;#58;&lt;br /&gt;- Tree Traversing extensions &amp;#40;for example TreeView Nodes, but also user defined tree structures&amp;#41;&lt;br /&gt;- List &amp;#38; Enumerable Synchronization &amp;#40;IList and IEnumerable Syncinc via lambda function, for example syncing the ListViewItems list with a user defined enumerable&amp;#41; &lt;br /&gt;- Background operations, a dialog field with a progress bar for the time consuming processing of a list &lt;br /&gt;&lt;br /&gt;</description><author>nollsen</author><pubDate>Thu, 27 Sep 2012 19:28:12 GMT</pubDate><guid isPermaLink="false">Created Issue: more extensions for enumerables / trees [16178] 20120927072812P</guid></item><item><title>Closed Issue: ExampleWebApp needs updating to match release  [16176]</title><link>http://cul.codeplex.com/workitem/16176</link><description>Hi this work is wonderful but I&amp;#39;m unable to get the application working due to your changes and moving them in to extensions.&lt;br /&gt;&lt;br /&gt;For example &lt;br /&gt;&amp;#61;Utilities.Web.HTML.AbsoluteRoot&amp;#43;&amp;#34;Cisco&amp;#47;&amp;#34;&lt;br /&gt;the HTML class no longer exists and is now an extension method&lt;br /&gt;&lt;br /&gt;I have had no exposure to MVC unfortunately, i have done some searching to try and figure it out.&lt;br /&gt;&lt;br /&gt;I have imported &amp;#60;&amp;#37;&amp;#64; Import Namespace&amp;#61;&amp;#34;Utilities.Web.ExtensionMethods&amp;#34; &amp;#37;&amp;#62;&lt;br /&gt;and changed the line to &lt;br /&gt;&lt;br /&gt;System.Web.HttpContext.Current.AbsoluteRoot&amp;#43;&amp;#34;Cisco&amp;#47;&amp;#34; &lt;br /&gt;&lt;br /&gt;but it tells me the AbsoluteRoot is an unknown member.&lt;br /&gt;&lt;br /&gt;yet in code behind I can add the using statement and &lt;br /&gt; System.Web.HttpContext.Current.AbsoluteRoot&amp;#40;&amp;#41;&amp;#59; and is fine.&lt;br /&gt;</description><author>JaCraig</author><pubDate>Sat, 01 Sep 2012 02:34:50 GMT</pubDate><guid isPermaLink="false">Closed Issue: ExampleWebApp needs updating to match release  [16176] 20120901023450A</guid></item><item><title>Closed Issue: ToXML missing EncodingUsing when saving [16177]</title><link>http://cul.codeplex.com/workitem/16177</link><description>Utilities.IO.ExtensionMethods.ToXML in SerializationExtensions.cs line 156 is missing the EncodingUsing in the Save function.&lt;br /&gt;Comments: Fixed in latest push to source control.</description><author>JaCraig</author><pubDate>Tue, 21 Aug 2012 16:00:44 GMT</pubDate><guid isPermaLink="false">Closed Issue: ToXML missing EncodingUsing when saving [16177] 20120821040044P</guid></item><item><title>Commented Issue: ToXML missing EncodingUsing when saving [16177]</title><link>http://cul.codeplex.com/workitem/16177</link><description>Utilities.IO.ExtensionMethods.ToXML in SerializationExtensions.cs line 156 is missing the EncodingUsing in the Save function.&lt;br /&gt;Comments: Good catch. I&amp;#39;ll push up a fix tonight &amp;#40;looks like ToSOAP and ToJSON have the same issue so I&amp;#39;ll fix those also&amp;#41;.</description><author>JaCraig</author><pubDate>Mon, 20 Aug 2012 18:11:28 GMT</pubDate><guid isPermaLink="false">Commented Issue: ToXML missing EncodingUsing when saving [16177] 20120820061128P</guid></item><item><title>Created Issue: ToXML missing EncodingUsing when saving [16177]</title><link>http://cul.codeplex.com/workitem/16177</link><description>Utilities.IO.ExtensionMethods.ToXML in SerializationExtensions.cs line 156 is missing the EncodingUsing in the Save function.&lt;br /&gt;</description><author>davidsems</author><pubDate>Mon, 20 Aug 2012 15:31:16 GMT</pubDate><guid isPermaLink="false">Created Issue: ToXML missing EncodingUsing when saving [16177] 20120820033116P</guid></item><item><title>Commented Issue: ExampleWebApp needs updating to match release  [16176]</title><link>http://cul.codeplex.com/workitem/16176</link><description>Hi this work is wonderful but I&amp;#39;m unable to get the application working due to your changes and moving them in to extensions.&lt;br /&gt;&lt;br /&gt;For example &lt;br /&gt;&amp;#61;Utilities.Web.HTML.AbsoluteRoot&amp;#43;&amp;#34;Cisco&amp;#47;&amp;#34;&lt;br /&gt;the HTML class no longer exists and is now an extension method&lt;br /&gt;&lt;br /&gt;I have had no exposure to MVC unfortunately, i have done some searching to try and figure it out.&lt;br /&gt;&lt;br /&gt;I have imported &amp;#60;&amp;#37;&amp;#64; Import Namespace&amp;#61;&amp;#34;Utilities.Web.ExtensionMethods&amp;#34; &amp;#37;&amp;#62;&lt;br /&gt;and changed the line to &lt;br /&gt;&lt;br /&gt;System.Web.HttpContext.Current.AbsoluteRoot&amp;#43;&amp;#34;Cisco&amp;#47;&amp;#34; &lt;br /&gt;&lt;br /&gt;but it tells me the AbsoluteRoot is an unknown member.&lt;br /&gt;&lt;br /&gt;yet in code behind I can add the using statement and &lt;br /&gt; System.Web.HttpContext.Current.AbsoluteRoot&amp;#40;&amp;#41;&amp;#59; and is fine.&lt;br /&gt;Comments: Many thanks for the quick response i&amp;#39;ll have a dig through the unit testing.</description><author>Namshub</author><pubDate>Thu, 14 Jun 2012 06:47:10 GMT</pubDate><guid isPermaLink="false">Commented Issue: ExampleWebApp needs updating to match release  [16176] 20120614064710A</guid></item><item><title>Commented Issue: ExampleWebApp needs updating to match release  [16176]</title><link>http://cul.codeplex.com/workitem/16176</link><description>Hi this work is wonderful but I&amp;#39;m unable to get the application working due to your changes and moving them in to extensions.&lt;br /&gt;&lt;br /&gt;For example &lt;br /&gt;&amp;#61;Utilities.Web.HTML.AbsoluteRoot&amp;#43;&amp;#34;Cisco&amp;#47;&amp;#34;&lt;br /&gt;the HTML class no longer exists and is now an extension method&lt;br /&gt;&lt;br /&gt;I have had no exposure to MVC unfortunately, i have done some searching to try and figure it out.&lt;br /&gt;&lt;br /&gt;I have imported &amp;#60;&amp;#37;&amp;#64; Import Namespace&amp;#61;&amp;#34;Utilities.Web.ExtensionMethods&amp;#34; &amp;#37;&amp;#62;&lt;br /&gt;and changed the line to &lt;br /&gt;&lt;br /&gt;System.Web.HttpContext.Current.AbsoluteRoot&amp;#43;&amp;#34;Cisco&amp;#47;&amp;#34; &lt;br /&gt;&lt;br /&gt;but it tells me the AbsoluteRoot is an unknown member.&lt;br /&gt;&lt;br /&gt;yet in code behind I can add the using statement and &lt;br /&gt; System.Web.HttpContext.Current.AbsoluteRoot&amp;#40;&amp;#41;&amp;#59; and is fine.&lt;br /&gt;Comments: I&amp;#39;ll admit that I haven&amp;#39;t kept up with keeping that up to date. I&amp;#39;ll add it to my list of things to do &amp;#40;the ever expanding list &amp;#58;&amp;#41; &amp;#41;. The unit tests are usually kept up to date a bit better though.</description><author>JaCraig</author><pubDate>Wed, 13 Jun 2012 16:35:41 GMT</pubDate><guid isPermaLink="false">Commented Issue: ExampleWebApp needs updating to match release  [16176] 20120613043541P</guid></item><item><title>Created Issue: ExampleWebApp needs updating to match release  [16176]</title><link>http://cul.codeplex.com/workitem/16176</link><description>Hi this work is wonderful but I&amp;#39;m unable to get the application working due to your changes and moving them in to extensions.&lt;br /&gt;&lt;br /&gt;For example &lt;br /&gt;&amp;#61;Utilities.Web.HTML.AbsoluteRoot&amp;#43;&amp;#34;Cisco&amp;#47;&amp;#34;&lt;br /&gt;the HTML class no longer exists and is now an extension method&lt;br /&gt;&lt;br /&gt;I have had no exposure to MVC unfortunately, i have done some searching to try and figure it out.&lt;br /&gt;&lt;br /&gt;I have imported &amp;#60;&amp;#37;&amp;#64; Import Namespace&amp;#61;&amp;#34;Utilities.Web.ExtensionMethods&amp;#34; &amp;#37;&amp;#62;&lt;br /&gt;and changed the line to &lt;br /&gt;&lt;br /&gt;System.Web.HttpContext.Current.AbsoluteRoot&amp;#43;&amp;#34;Cisco&amp;#47;&amp;#34; &lt;br /&gt;&lt;br /&gt;but it tells me the AbsoluteRoot is an unknown member.&lt;br /&gt;&lt;br /&gt;yet in code behind I can add the using statement and &lt;br /&gt; System.Web.HttpContext.Current.AbsoluteRoot&amp;#40;&amp;#41;&amp;#59; and is fine.&lt;br /&gt;</description><author>Namshub</author><pubDate>Wed, 13 Jun 2012 08:40:01 GMT</pubDate><guid isPermaLink="false">Created Issue: ExampleWebApp needs updating to match release  [16176] 20120613084001A</guid></item><item><title>Closed Issue: DateTime extension method [16175]</title><link>http://cul.codeplex.com/workitem/16175</link><description>Create a DateTime extension method that calculates the diff between two Dates expressed in Year&amp;#43;Month&amp;#43;Day&amp;#43;Hour&amp;#43;Minute&amp;#43;Second.&lt;br /&gt;Could also be used to calculate a person&amp;#39;s age &amp;#40;DateTime.Now - DateOfBirth&amp;#41;.&lt;br /&gt;&lt;br /&gt;Comments: Added the extension methods for TimeSpan and added functions to DateSpan class to basically accomplish this.</description><author>JaCraig</author><pubDate>Sun, 25 Dec 2011 02:50:04 GMT</pubDate><guid isPermaLink="false">Closed Issue: DateTime extension method [16175] 20111225025004A</guid></item><item><title>Commented Issue: DateTime extension method [16175]</title><link>http://cul.codeplex.com/workitem/16175</link><description>Create a DateTime extension method that calculates the diff between two Dates expressed in Year&amp;#43;Month&amp;#43;Day&amp;#43;Hour&amp;#43;Minute&amp;#43;Second.&lt;br /&gt;Could also be used to calculate a person&amp;#39;s age &amp;#40;DateTime.Now - DateOfBirth&amp;#41;.&lt;br /&gt;&lt;br /&gt;Comments: This is covered by the Subtract method on DateTime class&amp;#58;&amp;#10;http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;8ysw4sby.aspx&amp;#10;&amp;#10;The Subtract method returns a TimeSpan object that shows the difference. However the TimeSpan object doesn&amp;#39;t have an easy Months or Years properties &amp;#40;but it can be calculated by the Days property&amp;#41;. This might be better as additions to the DateSpan class and extensions to the TimeSpan class...</description><author>JaCraig</author><pubDate>Sat, 24 Dec 2011 18:33:25 GMT</pubDate><guid isPermaLink="false">Commented Issue: DateTime extension method [16175] 20111224063325P</guid></item><item><title>Created Issue: DateTime extension method [16175]</title><link>http://cul.codeplex.com/workitem/16175</link><description>Create a DateTime extension method that calculates the diff between two Dates expressed in Year&amp;#43;Month&amp;#43;Day&amp;#43;Hour&amp;#43;Minute&amp;#43;Second.&lt;br /&gt;Could also be used to calculate a person&amp;#39;s age &amp;#40;DateTime.Now - DateOfBirth&amp;#41;.&lt;br /&gt;&lt;br /&gt;</description><author>microfox</author><pubDate>Fri, 23 Dec 2011 23:34:13 GMT</pubDate><guid isPermaLink="false">Created Issue: DateTime extension method [16175] 20111223113413P</guid></item><item><title>Closed Issue: Utilities.FileFormats.Zip.ZipFile.AddFile Error When Adding 0 Byte File [16174]</title><link>http://cul.codeplex.com/workitem/16174</link><description>I receive the following error when attempting add a file that is 0 bytes.  I need the 0 byte file added to the Zip file.  I do not get this error when using AddFolder Function.&lt;br /&gt;&lt;br /&gt;WindowsBase &amp;#58; System.IO.FileFormatException&lt;br /&gt;Archive file cannot be size 0.&lt;br /&gt;&lt;br /&gt;at MS.Internal.IO.Zip.ZipArchive.OpenOnStream&amp;#40;Stream stream, FileMode mode, FileAccess access, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.ZipPackage..ctor&amp;#40;Stream s, FileMode mode, FileAccess access, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.Package.Open&amp;#40;Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.Package.Open&amp;#40;Stream stream&amp;#41;&lt;br /&gt;   at Utilities.FileFormats.Zip.ZipFile.AddFile&amp;#40;String File&amp;#41; in C&amp;#58;&amp;#92;VS2010&amp;#92;Craig&amp;#39;s Utility Library&amp;#92;UtilitiesFull&amp;#92;Utilities&amp;#92;FileFormats&amp;#92;Zip&amp;#92;ZipFile.cs&amp;#58;line 96&lt;br /&gt;&lt;br /&gt;</description><author>JaCraig</author><pubDate>Tue, 29 Nov 2011 15:04:09 GMT</pubDate><guid isPermaLink="false">Closed Issue: Utilities.FileFormats.Zip.ZipFile.AddFile Error When Adding 0 Byte File [16174] 20111129030409P</guid></item><item><title>Closed Issue: Mis-named Speech classes [16173]</title><link>http://cul.codeplex.com/workitem/16173</link><description>The Utilities.Media.Sound.SpeechToText class has a .Speak method and the Utilities.Media.Sound.TextToSpeech class has a .Recognise method&lt;br /&gt;&lt;br /&gt;These seem to be the wrong way around&lt;br /&gt;</description><author>JaCraig</author><pubDate>Mon, 28 Nov 2011 19:44:17 GMT</pubDate><guid isPermaLink="false">Closed Issue: Mis-named Speech classes [16173] 20111128074417P</guid></item><item><title>Commented Issue: Mis-named Speech classes [16173]</title><link>http://cul.codeplex.com/workitem/16173</link><description>The Utilities.Media.Sound.SpeechToText class has a .Speak method and the Utilities.Media.Sound.TextToSpeech class has a .Recognise method&lt;br /&gt;&lt;br /&gt;These seem to be the wrong way around&lt;br /&gt;Comments: I&amp;#39;m removing support for text to speech and speech to text. I don&amp;#39;t use the functionality any more and have no plans to update it.</description><author>JaCraig</author><pubDate>Mon, 28 Nov 2011 19:44:12 GMT</pubDate><guid isPermaLink="false">Commented Issue: Mis-named Speech classes [16173] 20111128074412P</guid></item><item><title>Commented Issue: Utilities.FileFormats.Zip.ZipFile.AddFile Error When Adding 0 Byte File [16174]</title><link>http://cul.codeplex.com/workitem/16174</link><description>I receive the following error when attempting add a file that is 0 bytes.  I need the 0 byte file added to the Zip file.  I do not get this error when using AddFolder Function.&lt;br /&gt;&lt;br /&gt;WindowsBase &amp;#58; System.IO.FileFormatException&lt;br /&gt;Archive file cannot be size 0.&lt;br /&gt;&lt;br /&gt;at MS.Internal.IO.Zip.ZipArchive.OpenOnStream&amp;#40;Stream stream, FileMode mode, FileAccess access, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.ZipPackage..ctor&amp;#40;Stream s, FileMode mode, FileAccess access, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.Package.Open&amp;#40;Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.Package.Open&amp;#40;Stream stream&amp;#41;&lt;br /&gt;   at Utilities.FileFormats.Zip.ZipFile.AddFile&amp;#40;String File&amp;#41; in C&amp;#58;&amp;#92;VS2010&amp;#92;Craig&amp;#39;s Utility Library&amp;#92;UtilitiesFull&amp;#92;Utilities&amp;#92;FileFormats&amp;#92;Zip&amp;#92;ZipFile.cs&amp;#58;line 96&lt;br /&gt;&lt;br /&gt;Comments: Thanks for catching it. I&amp;#39;m adding the fix now and should have it uploaded in the repository later today.</description><author>JaCraig</author><pubDate>Mon, 28 Nov 2011 19:42:18 GMT</pubDate><guid isPermaLink="false">Commented Issue: Utilities.FileFormats.Zip.ZipFile.AddFile Error When Adding 0 Byte File [16174] 20111128074218P</guid></item><item><title>Commented Issue: Utilities.FileFormats.Zip.ZipFile.AddFile Error When Adding 0 Byte File [16174]</title><link>http://cul.codeplex.com/workitem/16174</link><description>I receive the following error when attempting add a file that is 0 bytes.  I need the 0 byte file added to the Zip file.  I do not get this error when using AddFolder Function.&lt;br /&gt;&lt;br /&gt;WindowsBase &amp;#58; System.IO.FileFormatException&lt;br /&gt;Archive file cannot be size 0.&lt;br /&gt;&lt;br /&gt;at MS.Internal.IO.Zip.ZipArchive.OpenOnStream&amp;#40;Stream stream, FileMode mode, FileAccess access, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.ZipPackage..ctor&amp;#40;Stream s, FileMode mode, FileAccess access, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.Package.Open&amp;#40;Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.Package.Open&amp;#40;Stream stream&amp;#41;&lt;br /&gt;   at Utilities.FileFormats.Zip.ZipFile.AddFile&amp;#40;String File&amp;#41; in C&amp;#58;&amp;#92;VS2010&amp;#92;Craig&amp;#39;s Utility Library&amp;#92;UtilitiesFull&amp;#92;Utilities&amp;#92;FileFormats&amp;#92;Zip&amp;#92;ZipFile.cs&amp;#58;line 96&lt;br /&gt;&lt;br /&gt;Comments: When I compiled the library to use .NET 4.0 Full.</description><author>lkannard</author><pubDate>Fri, 25 Nov 2011 19:39:21 GMT</pubDate><guid isPermaLink="false">Commented Issue: Utilities.FileFormats.Zip.ZipFile.AddFile Error When Adding 0 Byte File [16174] 20111125073921P</guid></item><item><title>Commented Issue: Utilities.FileFormats.Zip.ZipFile.AddFile Error When Adding 0 Byte File [16174]</title><link>http://cul.codeplex.com/workitem/16174</link><description>I receive the following error when attempting add a file that is 0 bytes.  I need the 0 byte file added to the Zip file.  I do not get this error when using AddFolder Function.&lt;br /&gt;&lt;br /&gt;WindowsBase &amp;#58; System.IO.FileFormatException&lt;br /&gt;Archive file cannot be size 0.&lt;br /&gt;&lt;br /&gt;at MS.Internal.IO.Zip.ZipArchive.OpenOnStream&amp;#40;Stream stream, FileMode mode, FileAccess access, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.ZipPackage..ctor&amp;#40;Stream s, FileMode mode, FileAccess access, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.Package.Open&amp;#40;Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming&amp;#41;&lt;br /&gt;   at System.IO.Packaging.Package.Open&amp;#40;Stream stream&amp;#41;&lt;br /&gt;   at Utilities.FileFormats.Zip.ZipFile.AddFile&amp;#40;String File&amp;#41; in C&amp;#58;&amp;#92;VS2010&amp;#92;Craig&amp;#39;s Utility Library&amp;#92;UtilitiesFull&amp;#92;Utilities&amp;#92;FileFormats&amp;#92;Zip&amp;#92;ZipFile.cs&amp;#58;line 96&lt;br /&gt;&lt;br /&gt;Comments: Misinterpreted the error message.  Could not open the newly created Zip file when it is 0 bytes.  &amp;#10;&amp;#10;To get it to not raise the error...&amp;#10;I Changed line 96 of ZipFile.cs from this...&amp;#10;            using &amp;#40;Package Package &amp;#61; ZipPackage.Open&amp;#40;ZipFileStream&amp;#41;&amp;#41;&amp;#10;&amp;#10;to this...&amp;#10;            using &amp;#40;Package Package &amp;#61; ZipPackage.Open&amp;#40;ZipFileStream, FileMode.OpenOrCreate&amp;#41;&amp;#41;&amp;#10;&amp;#10;</description><author>lkannard</author><pubDate>Fri, 25 Nov 2011 06:03:18 GMT</pubDate><guid isPermaLink="false">Commented Issue: Utilities.FileFormats.Zip.ZipFile.AddFile Error When Adding 0 Byte File [16174] 20111125060318A</guid></item></channel></rss>