I installed a Microsoft ASP.NET Web API Compression nuget package to my project and added a line to WebApiconfig inside Register method as shown in this link https://www.nug
Installing and removing System.ValueTuple via Nuget left a System.ValueTuple.dll file in my bin folder. Deleting it solved the problem for me.
System.ValueTuple.dll