By mistake I create a MVC 5 Controler instead Web Api 2 Controller in my .NET Web API Project and I received the following message:
Visual Studio has added the full set of dependencies for ASP.NET MVC 5 to project 'PROJECT_NAME'.
The Global.asax.cs file in the project may require additional changes to enable ASP.NET MVC.
Is there a simple way to reverse this? Do I have to delete unnecessary files and dependencies one by one manually? Will previously created Api controllers work without changes?
Any help or assistance would be greatly appreciated.
#c-sharp #asp.net #.net