"More that one type want to be a model for content type"
Hello!
I have an Umbraco site that is not working when running from Visual Studio. This is actually on a new coworker's laptop. This error only happens for her and not the rest of us. If she tries to run the site locally, she gets the error in the attached image. All of the help I'm finding on the web says that I need to find a place in the code where this model is defined twice, but I have not been able to find such a thing no matter how hard I look.
"More that one type want to be a model for content type"
Hello!
I have an Umbraco site that is not working when running from Visual Studio. This is actually on a new coworker's laptop. This error only happens for her and not the rest of us. If she tries to run the site locally, she gets the error in the attached image. All of the help I'm finding on the web says that I need to find a place in the code where this model is defined twice, but I have not been able to find such a thing no matter how hard I look.
Any ideas about how we can get past this?
Desperately,
Jeremy
What modelsbuilder mode are you using?
Regards, Magnus
The mode is AppData. That's what my localhost is set to and it works a-okay. I've also tried Dll to no avail.
Jeremy
If you're using appdata, make sure you don't have the Umbraco.Web.PublishedContentModels.dll in the bin folder.
Regards, Magnus
Have you modified where Models Builder save the generated classes? If so remember to delete them from the old location.
is working on a reply...