title: Error "Could not find a part of the path
body: <p>While executing the following code I observe an error in the line </p>
  
  <pre><code>public static void WriteZipFile(List&lt;string&gt; filesToZip, string path, int compression)
  </code></pre>
  
  <p>Code :</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.IO;
  using System.IO.Compression;
  using ICSharpCode.SharpZipLib.Checksums;
  using ICSharpCode.SharpZipLib.Zip;
  
  /* some code */
  
  public static void WriteZipFile(List&lt;string&gt; filesToZip, string path, int compression)
  
  /* some code */
  Crc32 crc32 = new Crc32();
  ZipOutputStream stream = new  ZipOutputStream(File.Create(path));
  stream.SetLevel(compression);
  </code></pre>
  
  <p>Other info : Path = <code>C:\\Users\\test\\Documents\\details\Local Code\\project\\projectwebsite\\PublishedSources\\</code></p>
  
  <p>Error: </p>
  
  <blockquote>
    <p>Could not find a part of the path
    'C:\Users\test\Documents\details\Local
    Code\project\projectwebsite\PublishedSources\'.</p>
  </blockquote>