Hey everyone.
I’m attempting to build out a simple site on Umbraco 9 and .NET Core, mainly for testing purposes.
However, PublishedModels is behaving odd. I see the generated models under ~/umbraco/models/, but the razor views do not recognize PublishedModels.XXXX (i.e. @inherits UmbracoViewpage<ContentModels.HomePage>).
Does anyone know what I might be doing wrong? Or where in appsettings to change modelbuilder mode since I don’t have web.config?
I’d appreciate any help.
EDIT: To be more thorough, the error is "The type for namespace ‘Homepage’ does not exist in ‘Umbraco.Cms.Web.Common.PublishedModels’
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/105870-published-models-not-found-umbraco-9-on-net-core