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.

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
CodePudding user response:
Select the ‘Web’ section in the menu sidebar. It (All installed razor controls) should be there if razor is installed.

