how set same layout different areas in mvc 6 vnext,
i using _viewimports.cshmlt , _viewstart.cshtml in each area
in _viewstart.cshtml
@{ layout = "_/views/shared/_layout.cshtml"; } and _viewimports.cshtml
@using cross2enterprise.administrador @using cross2enterprise.administrador.models @using microsoft.framework.optionsmodel @addtaghelper "*, microsoft.aspnet.mvc.taghelpers"
i'm discarting obvious things... did tried ...? (i have viewed few of things vnext )
layout = "~/views/shared/_layout.cshtml";
Comments
Post a Comment