我无法在我的C#ASP.NET 4.5应用程序中使用GZipStream类。'GZipStream'找不到 - 参考问题
我得到的错误:
The type or namespace name 'GZipStream' could not be found (are you missing a using directive or an assembly reference?)
我试着用using System.IO;
但System.IO.Compression
不可在Visual Studio中的“参考文献管理器”。我右键单击对象名称以查看Visual Studio是否找到相关的引用,但它没有。
有什么建议吗?
这不是在'System.IO.Compression.dll'(它是ZIP档案),'GZipStream'但在'System.dll'组装。使用System.IO.Compression添加''。 –
添加你的答案,我会接受 –
你可以接受Ozik的答案,或多或少相同的内容。 –