The name ‘ZipFile’ does not exist in the current context when including System.IO.Compression

I”m currently running .net version 4.5 and am trying to use it’s “new” zip functions. I’m including System.IO.Compression and am trying to run the following code: using System.IO.Compression; string startPath = @"c:examplestart"; string zipPath = @"c:exampleresult.zip"; string extractPath = @"c:exampleextract"; ZipFile.CreateFromDirectory(startPath, zipPath); ZipFile.ExtractToDirectory(zipPath, extractPath); The issue I’m getting is that The name ‘ZipFile does not … Read more