I am using a dll file in my web api project using .net core. In the dll file System.Web.HttpContext is used. So when I am calling a function of that dll I am getting the error "Could not load type 'System.Web.HttpContext' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'."
How can I solve this? Thanks