Copied to clipboard

Flag this post as spam?

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


  • Russ 1 post 21 karma points
    Feb 23, 2014 @ 10:21
    Russ
    0

    Empty templates when publishing from VS2012

    Hi All,

    First time using 7 and having a little fun with publishing from VS2012.

    Brand new project in VS2012

    • created new project = .Net 4.5, ASP.NET MVC 4 Web Application
    • Nuget = installed Umbraco CMS
    • Accepted web.config update
    • Installed on local SQLEXPRESS
    • Installed new TxT template

    CTRL-F5 runs fine - front and admin, all good.

    Set up publishing to local host via FILE publish (remove all existing files)

    Publish and all seems to go well - no errors are obvious.

    When I visit the localhost page (though IIS full site using HOSTS file) I get a blank page.

    When go to /umbraco all the templates etc are there, but completely blank / empty.

    Done all the usual things of wiping, trying again, re-publishing - same result.

    When I add a new template in CTRL-F5, it's also visible on the localhost site - but again it's missing it's content.

    Ditto all the above with partial views.

    Where is the content of the templates and partial views kept? Is it a publishing problem from VS - or have I missed something obvious?

    Thanks,

    Russ.

Please Sign in or register to post replies

Write your reply to:

Draft