Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SettingsViewEngine : RazorViewEngine
- {
- public SettingsViewEngine()
- {
- //if I commit this nothing changes
- MasterLocationFormats = new[]
- {
- "~/bin/Views/{1}/{0}.cshtml",
- "~/bin/Views/Shared/{0}.cshtml"
- };
- ViewLocationFormats = new[]
- {
- "~/bin/Views/{1}/{0}.cshtml", //if I commit this line it starts look at
- //at shared folder.Looks like only first
- //line of ViewLocationFormats array used always.
- "~/bin/Views/Shared/{0}.cshtml"
- };
- }
- }
- "~/bin/Views/MyLayout.cshtml"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement