Unable to add Razor view to newly created theme

Topics: Writing themes
May 19, 2011 at 3:14 AM

Hello,

I am trying to create a new theme and created the project via the command line without any problems. When I try and add a new layout.cshtml file to the View folder I can't see any option for adding a Razor file. What am I doing wrong? 

May 19, 2011 at 11:13 AM

It's an issue with some of the Web.config settings I think. The Razor views don't show up in the New menu, but they still work. Just create a file and name it .cshtml (or copy an existing view)

May 19, 2011 at 4:23 PM

thank you.