I have a completely new EPi7 mvc4(Razor) solution. When I try to add a simple page type the DB is not getting updated. And there are no page types available
The page type looks like this:
[ContentType(DisplayName = "TestPage", GUID = "00e90ef5-cc85-487c-9aed-c28e6046cb2b", Description = "")]
public class TestPage : PageData
{
[CultureSpecific]
[Editable(true)]
[Display(
Name = "Main body",
Description = "The main body will be shown in the main content area of the page, using the XHTML-editor you can insert for example text, images and tables.",
GroupName = SystemTabNames.Content,
Order = 1)]
public virtual XhtmlString MainBody { get; set; }
}
Is there maybe some kind of switch like in previous versions to turn off sync? I'm aware of the fact the this is not a PageTypeBulder anymore but still.
I found a solution. This problem had it's source in badly named web project (xxx.Web.Mvc). When I removed the '.Mvc' part it started working. It's very strange. I didn't know that naming can break Epi7.