Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Luke Alderton 192 posts 509 karma points
    Apr 16, 2013 @ 14:46
    Luke Alderton
    0

    Packaging MVC Views

    I'm packaging up a new project I'm about to release but for some reason the Views I've added to the package show up blank wehn it's installed onto a test environment, I'm wondering why this is happening and how I can resolve it.

    For example I have a new called 'Main', I add this to my new package, save and publish then download it and then install the downloaded package onto my test environment, the package installs successfully and adds 'Main' to the templates but instead of having a full website page inside it, it has the default View content as below:

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
    @{
        Layout = null;
    }

    Any help would be appreciated and thank you in advance,
    Luke

  • Luke Alderton 192 posts 509 karma points
    Apr 16, 2013 @ 14:57
    Luke Alderton
    100

    Instead of selecting templates only, I selected the files specifically and that seemed to work, feels a bit hacky though since it says when you select a template its file is automatically added.

Please Sign in or register to post replies

Write your reply to:

Draft