How can I get the Asp.net MVC browse dialog from the Views folder?

Since I followed this article to implement the theme engine on the MVC Asp.net website. But at the same time, I can’t open the "Add View" dialog by right-clicking on the ~ / Themes / folder. By default, the Add View dialog can only be displayed by clicking the // Views / button. Can I set it for ~ / Themes / Folders?

Edit: My interlocutor wants to change some parameters in asp.net mvc T4 template , he placed CodeTemplates in the root folder of the site. He cannot find his T4 options by doing: Add → New item ---> MVC view page

It seems that the Views folder cannot be changed to a different name in ASP.net MVC. Otherwise, you will lose those T4 related items in the VS IDE.

+3
source share
3 answers

Good. Since three weeks have passed, do not accept the answer to this question, so I think this design problem cannot be fixed.

0
source

In your project, you can use Add → New Item ---> MVC View Page .

+2
source

, ActionResult.

+1

Source: https://habr.com/ru/post/1729752/


All Articles