在VS 2010 Express 4.5.50938中找不到System.IO.Compression.FileSystem

时间:2014-07-15 15:16:28

标签: c# visual-studio-2010

我有VS 2010 Express 4.5.50938,但是当我去添加引用时,.NET选项卡下没有System.IO.Compression.FileSystem,但我在Recent Tab下找到了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复制到此目录中?

1 个答案:

答案 0 :(得分:0)

VS 2010不支持.NET 4.5,但VS 2012以后也是如此 有关ZIP存档支持,请查看this project on codeplex

或者,您也可以查看VS 2013 Express products