Last chance to get discounted tickets to Codegarden... Price goes up on Tuesday at 20:00 CEST!

Copied to clipboard

Flag this post as spam?

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

  • Christopher 20 posts 92 karma points
    May 14, 2014 @ 18:52

    Unable to create document types (uSiteBuilderV6API - Umbraco 6.1.6)


    Firstly, I'd like to say that I love uSiteBuilder and have been happily using it for some time without issue.

    Today I have been trying to set up a new Umbraco project in Visual Studio 2012 and add some document types via uSiteBuilder. I have done this a fair few times before with no problems although mostly with Umbraco 4.x and only once before with Umbraco 6.x.

    When I deploy the project dll to the bin folder of the website, I am not seeing my document types listed under the doctypes node in the settings section.  Could anyone enlighten me as to anything I may have forgotten to do?

    To set up the project I have.

    • Set up Umbraco 6.1.6 with a MSSQL database
    • Recompiled the uSiteBuilder dll from the V6API branch with the 6.1.6 dll files from the bin folder of Umbraco
    • Created a doctype which looks like this:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;

    using Vega.USiteBuilder;



    Name = "Homepage",
    AllowedChildNodeTypes = new Type[] {


    IconUrl = "house.png"

    public class HomePage : Vega.USiteBuilder.DocumentTypeBase

    // Navigation
    [DocumentTypeProperty(UmbracoPropertyType.TrueFalse, Name = "Hide in navigation", Tab = "Navigation")]
    public string umbracoNaviHide { get; set; }




    The project builds fine as usual and I'm having some trouble understanding why this might not be working.

    Any help/suggestions at all would be greatly appreciated.




  • Sasa Popovic 77 posts 362 karma points
    May 15, 2014 @ 10:18
    Sasa Popovic

    Hi Christopher,

    Did you try this with the old v1 version of uSiteBuilder or did you use the new v2 version of uSiteBuilder?

    Source code of uSiteBuilder has been moved to GitHub ( and the downloads are available through NuGet (


  • Christopher 20 posts 92 karma points
    May 15, 2014 @ 11:10


    Thats the problem solved, seems to work fine with V2 from GitHub. 

    Thanks very much for your comment.






  • Sasa Popovic 77 posts 362 karma points
    May 15, 2014 @ 11:19
    Sasa Popovic

    You are welcome Chris.


Please Sign in or register to post replies

Write your reply to: