Describe the bug
When you add a controller and you use Microsoft.AspNetCore.Mvc library for your dependency, the using statement on the newly created file is missing, and the controller base is also missing.
To Reproduce
Steps to reproduce the behavior:
Add Microsoft.AspNetCore.Mvc to dependencies on the project that you will create the controller file on.
Add a controller file
file will be missing the using statement for Microsoft.AspNetCore.Mvc and controller from base
Expected behavior
the controller file should be
using Microsoft.AspNetCore.Mvc;
namespace ConsoleApp1.Controllers
{
public class NameController : Controller
{
}
}
Screenshots
Additional context
Add any other context about the problem here.
Describe the bug When you add a controller and you use Microsoft.AspNetCore.Mvc library for your dependency, the using statement on the newly created file is missing, and the controller base is also missing.
To Reproduce Steps to reproduce the behavior:
Expected behavior the controller file should be
Screenshots
Additional context Add any other context about the problem here.