This project is read-only.

Unable to add Razor view to newly created theme

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


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 12:13 PM

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 5:23 PM

thank you.