My question is that I did not find the “ZipFile” class in the “System.IO.Compression” namespace

But I referenced the DLL for my web forms project 4.5.1:

The properties of my project give me: Target framework: .Net Framework 4.5.1. and web.config:
<compilation debug="true" targetFramework="4.5" />
What am I missing?
The solution was to manually reference the assemblies in web.config. But why? Why was the check box in the add link dialog box insufficient?
<assemblies> <add assembly="System.IO.Compression, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> </assemblies>
Taken from this answer to "Installed .Net 4.5, but cannot use the ZipFile class in Visual C #"
JP Hellemons
source share