Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When trying to upgrade to 7.4.0 from 7.4.0-beta2, I'm getting the following error:
Method not found: 'Boolean Umbraco.ModelsBuilder.Configuration.Config.get_EnableLiveModels()'.
I've tried this several times, also tried changing the configuration values for ModelsBuilder.
Any suggestions? The recently integrated Models Builder package seems to lack documentation for the time being.
Your web.config should contain the following 2 keys:
<add key="Umbraco.ModelsBuilder.Enable" value="true" />
<add key="Umbraco.ModelsBuilder.ModelsMode" value="PureLive" />
Thank you Sebastiaan,
It was removing the reference to Umbraco.ModelsBuilder.AspNet that resolved the error. Any ideas why it wasn't removed by the installer?
Also, where can I find the documentation about the ModelsBuilder configuration? The github wiki for the project isn't yet updated for v3 and the configuration keys seem to have changed.
It just wasn't worth the time to remove something in an automated fashion that was only present in a beta version. :) Docs coming over the next few weeks!
There's only two config options that I know of, as mentioned above, and the possible values are:
Umbraco.ModelsBuilder.Enable : either true or false
Umbraco.ModelsBuilder.ModelsMode : either PureLive or Dll
What does the model Builder actually do on a normal site? Anything?
Im asking because it was enabled by default when i upgraded a 7.3.4 site today, making the site extremely slow due to a warning being written to the log hundreds of times pr. second:
"Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - No models"
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted