I needed to abstract the Controllers
of an application ASP.NET MVC
to a Class Library
because I'm using different technologies in the same application.
However, I have the error:
'System.Web.HttpContextBase' does not contain a definition for 'Current' and in the 'current' extension method accepting the first argument of type 'System.Web.HttpContextBase' could be found an assembly reference?)
I already installed System.Web.Mvc
and System.Web
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using Modularizacao.Comum.App_Start;
But it did not solve this dependency. What do I have to reference to avoid this error?