I'm quite an Umbraco veteran and I also got this error running 7.4.1. I've never seen a version of Umbraco before that when you download it doesn't run out-of-the-box and instead throws an error - which requires having to install an unspecified 3rd party Nuget package.
I just wanted to add to the conversation that I received the ModelsBuilder error after doing a fresh install via NuGet Package Manager. I discovered that I just had to build the web application before it would run.
I'm not sure if that was your problem, but wanted to post this for anyone else who might find this helpful.
I too used Nuget to update my instance from 7.3 to 7.4 and noticed the error. I checked my version that came down from the package console and it was 7.4.1
I did go through the documentation for the ModelsBuilder and made sure I added the additional ModelsBuilder.Api but still made no difference.
Error: Could not load types from assembly Umbraco.ModelsBuilder
I updated again through Nuget and this time targeted the latest version of umbraco (at the time of me writing this it is 7.4.3). I rebuilt my project and still the saw the same issue.
I managed to get this to work by giving up on trying to upgrade my old 7.3.xx site and just copy my files into a 7.4.3 shell.
I'm sad to say I wasn't able to identify a root cause but I did I try upgrading through Nuget and a manual update. There has to be some other dependency conflict that is causing the issue with the ModelsBuilder.
I had similar issue with an asp.net core web application. Changing to a non-core project type fixed the issue - allow I did have to disable 'LoaderLock' Exceptions in Managed Debugging.
Here are my repro steps.
Environment:
Windows 7 SP1 / Patched to 23-Jul-2017.
IIS7.5 (7.5.7600.16385) although I don't think this is used by default umbraco install.
Visual Studio 2017 Enterprise (15.2 / 26430.16).
Within Visual Studio
Create a 'New Project...'
ASP.NET Web Application (.net framework 4.5.2)
Empty Template
Opened Nuget Package Manager Console (v4.2.0.2457)
Install-Package UmbracoCms -Version 7.6.4
I notice that Retrieving package 'Umbraco.ModelsBuilder 3.0.7' from 'nuget.org'. is in the log
Readme.txt appears in main window
Build / Clean Solution (Debug)
Rebuild Solution (Debug)
9.F5 Run / (Dialog appears - Debugging not enabled) - select 'Modify' Web.Config to allow debugging.
Website launches and install begins
At some point the VS Debugger pops up with a LoaderLock Exception. I disable this and continue and install completes successfully.
Could not load file or assembly 'Umbraco.ModelsBuilder' or one of its dependencies.
Hi,
I've created a new Web App on Azure. Then, using FTP, I've uploaded the contents of the package UmbracoCms.7.4.1.
When I access the Uri, trying to install Umbraco, I receive the following exception:
Anything could be done here?
Thanks
Hello,
Did you enable Umbraco.ModelsBuilder? Here is some documentation which might help:
https://github.com/zpqrtbnk/Zbu.ModelsBuilder/wiki/Umbraco.ModelsBuilder
https://github.com/zpqrtbnk/Zbu.ModelsBuilder/wiki/Install-And-Configure
https://github.com/zpqrtbnk/Zbu.ModelsBuilder/wiki/Builder-Modes
Jeroen
I don't even know what ModelsBuilder is.
I downloaded umbraco and extracted the files and pushed them on the FTP.
Shall I need to do something further?
Thanks
Hello,
If you read those links you'll know what ModelsBuilder is. It's a new feature that is shipped with Umbraco 7.4.
Somehow your install is missing some files which are required for the ModelsBuilder. You can also install it separately through NuGet: https://www.nuget.org/packages/Umbraco.ModelsBuilder/
Jeroen
Thanks. I will check that.
I'm quite an Umbraco veteran and I also got this error running 7.4.1. I've never seen a version of Umbraco before that when you download it doesn't run out-of-the-box and instead throws an error - which requires having to install an unspecified 3rd party Nuget package.
Hmm well Umbraco 7.4 is the first version which has a dependency other than UmbracoCms.Core and Newtonsoft.Json: https://www.nuget.org/packages/UmbracoCms/
I just wanted to add to the conversation that I received the ModelsBuilder error after doing a fresh install via NuGet Package Manager. I discovered that I just had to build the web application before it would run.
I'm not sure if that was your problem, but wanted to post this for anyone else who might find this helpful.
Anyone figure this out yet?
I too used Nuget to update my instance from 7.3 to 7.4 and noticed the error. I checked my version that came down from the package console and it was 7.4.1
I did go through the documentation for the ModelsBuilder and made sure I added the additional ModelsBuilder.Api but still made no difference.
Error: Could not load types from assembly Umbraco.ModelsBuilder
I updated again through Nuget and this time targeted the latest version of umbraco (at the time of me writing this it is 7.4.3). I rebuilt my project and still the saw the same issue.
I managed to get this to work by giving up on trying to upgrade my old 7.3.xx site and just copy my files into a 7.4.3 shell.
I'm sad to say I wasn't able to identify a root cause but I did I try upgrading through Nuget and a manual update. There has to be some other dependency conflict that is causing the issue with the ModelsBuilder.
I had similar issue with an asp.net core web application. Changing to a non-core project type fixed the issue - allow I did have to disable 'LoaderLock' Exceptions in Managed Debugging.
Here are my repro steps.
Environment:
Within Visual Studio
I notice that Retrieving package 'Umbraco.ModelsBuilder 3.0.7' from 'nuget.org'. is in the log
At some point the VS Debugger pops up with a LoaderLock Exception. I disable this and continue and install completes successfully.
is working on a reply...