Add View context menu item missing

I am reading a music store tutorial (ASP.NET 3 / Razor). After I created the main controller and the index action, I right-clicked throughout the body of the index action (and declaration) and the "Add View" is not displayed.

I tried Ctrl + M, Ctrl-V, but he says that this combination is "associated with a command (Add View ...), which is currently unavailable."

Note: this is VS 2010; I installed the NDjango NuGet package, which I thought caused it. But even after removing this package, the problem remains.

+3
source share
6 answers

MVC 3 " ". , ; ! , MVC 3 - , , , .

+2

, - , : {E53F8FEA-EAE0-44A6-8774-FFD645390401}; ProjectGuids ( , , .

.

+4

, , , , ( HomeController.Index) . ActionResult, " " .

+1

MVC3? , Add View Goto View.

0

ActionResult, " ".

0

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


All Articles