0

在执行以下代码时,我观察到该行中的错误

public static void WriteZipFile(List<string> filesToZip, string path, int compression)

代码 :

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<string> filesToZip, string path, int compression)

/* some code */
Crc32 crc32 = new Crc32();
ZipOutputStream stream = new  ZipOutputStream(File.Create(path));
stream.SetLevel(compression);

其他信息:路径=C:\\Users\\test\\Documents\\details\Local Code\\project\\projectwebsite\\PublishedSources\\

错误:

找不到路径“C:\Users\test\Documents\details\Local Code\project\projectwebsite\PublishedSources\”的一部分。

4

0 回答 0