Copied to clipboard

Flag this post as spam?

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


  • Matt Taylor 873 posts 2086 karma points
    Dec 30, 2014 @ 17:04
    Matt Taylor
    0

    How to use Zbu ModelsBuilder

    I'm quite familiar with the Hybrid Framework for Umbarco V6 and now I'm working with V7 which looks great..

    I've come accross the new Zbu ModelsBuilder functionality and I'm wondering how I should be using it.

    Do I just create a new document type in Umbraco, build and it'll automatically create the required class in my project?

    Here it says I need to set the url to my site, username and password Tools | Options | Zbu | ModelsBuilder Options but I don't seem to have Zbu listed anywhere under Options.

    I'm using Hybrid Framework for Umbraco v7 and Visual Studio 2012.

    Regards,

    Matt

  • Dallas 132 posts 404 karma points
    Dec 30, 2014 @ 18:19
    Dallas
    0

    Hi Matt

    To use the ModelsBuilder in the way you have described requires that the ModelsBuilder Visual Studio Extension is installed. You can download the extension from:

    https://visualstudiogallery.msdn.microsoft.com/3ac3afd4-09db-4c4f-89aa-6ce9e8e7c046

    Double Click on the downloaded file to install the extension. After installing the extension you will see Zbu listed under Tools | Options and you can configure the Custom Tool. 

    Dallas

     

  • Matt Taylor 873 posts 2086 karma points
    Dec 30, 2014 @ 18:37
    Matt Taylor
    0

    Thanks Dallas,

    I watched this video and it explained a lot.

    I've also added the appSettings that are missing from the framework.

    Running the custom tool is currently just resulting in a box that says one or more errors ocurred. Is there anyway to see what these errors are?

    There are some other threads here regarding problems with using the ModelsBuilder so I'm going to read those more closely.

  • Mehul Gajjar 48 posts 172 karma points
    Apr 17, 2015 @ 09:43
    Mehul Gajjar
    0

    Hi,

    After installing -> click on "Run custom tool"  then get below error.

    ZbuModelsBuilder: ZbuModelsBuilder failed to generate code: FileNotFoundException: Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    can some one  help on this.

    Thanks in advance

    Regards

    Mehul Gajjar.

     

     

     

     

  • Matt Taylor 873 posts 2086 karma points
    Apr 17, 2015 @ 13:45
    Matt Taylor
    0

    You can try updating the ZbuModelsBuilder nuGet packages.

     

Please Sign in or register to post replies

Write your reply to:

Draft