Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Just upgraded to 6.1.6, changed the Page Templates to Razor markup as described in the tutorial, but the pages won't get rendered as Razor. The first lines of code gets outputted as HTML, readable in the browser:
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "Layout.cshtml"; }
While editing Page Templates in Umbraco, switching Master Layour results in a poup saying, "Master directive not found...".
Have changed this in the umbracoSettings.config:
<defaultRenderingEngine>Mvc</defaultRenderingEngine>
Any ideas?
/Jakob
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Upgraded to 6.1.6, won't render Razor markup
Hi,
Just upgraded to 6.1.6, changed the Page Templates to Razor markup as described in the tutorial, but the pages won't get rendered as Razor. The first lines of code gets outputted as HTML, readable in the browser:
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "Layout.cshtml"; }
While editing Page Templates in Umbraco, switching Master Layour results in a poup saying, "Master directive not found...".
Have changed this in the umbracoSettings.config:
<defaultRenderingEngine>Mvc</defaultRenderingEngine>
Any ideas?
/Jakob
is working on a reply...