![](/img/trans.png)
[英]System.IO.Compression.FileSystem assembly in VS 2010
[英]System.IO.Compression.FileSystem not found with VS 2010 Express 4.5.50938
我有VS 2010 Express 4.5.50938,但是當我添加引用時,.NET選項卡下沒有System.IO.Compression.FileSystem,但是在“最近的選項卡”下找到了4.0版本。 程序運行時,我收到:
Warning 1 Reference to type 'System.IO.Compression.CompressionLevel' claims it is defined in 'c:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll', but it could not be found c:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.IO.Compression.FileSystem\v4.0_4.0.0.0__b77a5c561934e089\System.IO.Compression.FileSystem.dll Zip_Copy_To_Public
是否將dll復制到該目錄?
VS 2010不支持.NET 4.5,但VS 2012及更高版本支持。
要獲得ZIP存檔支持,請在codeplex上查看此項目 。
或者,您也可以查看VS 2013 Express產品 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.