When I start a new empty project there is an error in the .net core project:
Controller is a namespace but is used like a type.
Am I missing some packages?
When I start a new empty project there is an error in the .net core project:
Controller is a namespace but is used like a type.
Am I missing some packages?
You're right, you've missed Microsoft.AspNetCore.Mvc
package. Just add it to project.json
and things will be OK.