I am using simple PowerShell script in TeamCity Builds.
It requires System.IO.Compression.FileSystem and the agent has .NET 4.5.2 installed. Below are
System.IO.Compression.FileSystem
Try adding this instead (and remove the last portion) Add-Type -AssemblyName System.IO.Compression