AaronSadlerUK / Umbraco.MegaNavV8

A flexible, draggable link picker for constructing site navigation menus, big or small, in Umbraco V8
MIT License
6 stars 3 forks source link

Modelsbuilder generates error: Our Umbraco missing #8

Closed jkulker closed 4 years ago

jkulker commented 4 years ago
    ///<summary>
        /// Navigatie: Navigatie die rechtsboven in getoond wordt op de website
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "8.7.0")]
        [ImplementPropertyType("mainNavigation")]
        public global::System.Collections.Generic.IEnumerable<Our.Umbraco.MeganavV8.Core.Models.MeganavV8Item> MainNavigation => this.Value<global::System.Collections.Generic.IEnumerable<global::Our.Umbraco.MeganavV8.Core.Models.MeganavV8Item>>("mainNavigation");

How do i fix the modelsbuilder that it knows where it is located?

AaronSadlerUK commented 4 years ago

Sorry can you explain further, I'm unclear on the problem?

jkulker commented 4 years ago

I use the AppLiveData from Umbraco 8.7 and when i use the MegaNavv8 Property the modelsbuilder can't build my generated folder because it doesn't regonize "Our" Namespace

AaronSadlerUK commented 4 years ago

Hmm ok I will upgrade my test site to 8.7.0 and see if I can replicate

skttl commented 4 years ago

@jkulker are you generating your models into a seperate project? If so, you need to either reference the Meganav dll's or install Meganav in that project too.

AaronSadlerUK commented 4 years ago

That's a good point, if you are using them in a separate project you need to install the below package in to that project:

Install-Package AaronSadler.MegaNavV8.Core

AaronSadlerUK commented 4 years ago

I have finally managed to test this in LiveAppData mode with Umbraco 8.7.0

I have been unable to replicate this issue.

jkulker commented 4 years ago

still got a problem here

image

AaronSadlerUK commented 4 years ago

If you have updated to 8.1.0 you will need to regenerate your model. You will also need to recreate the property editor as the namespace has changed.

In order for me to investigate I need more information... Umbraco Version Models Builder configuration MegaNavV8 version

And an example of your backoffice configuration...