1
I have a normal application in mvc 5 and would like to change the basic folder convention for controllers/views.
For example:
- /Controllers/Admin/Controller1.Cs
- /Controllers/Admin/Controller2.Cs
and when I create views, I follow the existing convention:
- /Views/Controller1/Index.cshtml
- /Views/Controller2/Index.cshtml
The problem is this: no action, when I use the option "Go To View" it correctly finds the view, but winter doesn’t work. In the view, when I use the option "Go To Controller" get the message "Unable to find a matching controller".
I can’t consider the use of areas because the next version of the mvc will come without it.
Is there any solution to this?
It’s a shame... I thought there was some way to simulate this mechanism as it occurs using the areas mechanism at least. Know if it is possible?
– tparesque
I did some research before answering and found nothing, unfortunately.
– Leonel Sanches da Silva