Closed naepalm closed 4 years ago
Hi -
I've got the same problem with a local project generates the first file then spins until I kill it.
Any thoughts?
Weird. I remember it happening to me long time ago, generating the first file and then hanging. Thought it was fixed. Let me try to remember.
possibly related to #210 ? Are you using the custom tool or the extension?
@zpqrtbnk Ah-hah! I'm using the Custom Tool; it's what I've had for ages and I haven't thought to swap it because it's "just worked"! I'll update to the extension and see if that resolves my problem.
@zpqrtbnk Ditto me as well - thanks I'll take a look!
Don't mention Ditto.
Hey @zpqrtbnk, no luck... when I switch to the Extension instead of the custom tool and set my builder file to have UmbracoModelsBuilder as the custom tool, it simply does nothing. No logs, no errors, no output. Just... nothing.
I did check:
The extension does not work with a "custom tool", you may want to read this blog post for details.
@zpqrtbnk Ah-hah! The VS extension page points to this wiki for setup documentation, which still references using the Custom Tool on this page so that was what I thought I should do. I'll read the blog post and implement it that way :)
@zpqrtbnk The blog post worked like a charm. I'm golden; thank you so much for the help!
Hey, I'm running into a really strange issue on a new website that runs on Umbraco Cloud. We have a Core project for the class library and a Web project for the front per the Cloud instructions. I have the ModelsBuilder API installed and I'm attempting to generate the models into the Core project. It starts, generates the first IPublishedElement (SeoNavigation.generated.cs), but doesn't generate any more, never finishes, and also never throws an error. I've waited for over an 30 minutes and it just sits there, forcing me to terminate the process on my computer to close it.
I've attempted rebuilding the solution, deleting the files (including my base builder I have the custom tool set to) and regenerating them fresh, and I've checked all my settings. Since it starts generating them, and doesn't throw an error, I'm not exactly sure if I'm doing something wrong or if it's failing under the hood and never throwing the error to the front.
Tools Umbraco v8.6.1 Umbraco.ModelsBuilder v8.1.0 Umbraco.ModelsBuilder.Api v8.1.0 Visual Studio Extension v.8.0.5.190617001
Web.Config
Notes
Any ideas?