I've created an empty ASP.NET Core Mvc project in visual studio for Mac, added a few dependencies
- Microsoft.AspNetCore.Mvc (1.1.2)
- Microsoft.AspNetCore.Mvc.Core (1.1.2)
and also imported the namespaces. However, when I create a new
HomeControllerclass and try to inherit from the
Controllerclass
publicclassHomeController:Controller
I get a red squiggle line and an error:
the type of namespace name 'Controller' could not be found". Here is the image http://imgur.com/a/Ntpjm