Home > Net >  not show cshtml file in add new item in visual studio
not show cshtml file in add new item in visual studio

Time:12-28

I am using visual studio 2022.
not show cshtml file in add new item in visual studio.
i am add mvc and razor and not show cshtml file or javascript file in add new item.

enter image description here

CodePudding user response:

Make sure you select to install this ".NET Framework project and item templates" - work for me Kindly check below screenshot for details

enter image description here

CodePudding user response:

Select the ‘Web’ section in the menu sidebar. It (All installed razor controls) should be there if razor is installed. enter image description here

  • Related