我無法在我的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的答案,或多或少相同的內容。 –