error CS0246: The type or namespace name could not...
# help-with-umbraco
w
Hello, I am getting the following error message;
error CS0246: The type or namespace name 'FeaturedItemsRow' could not be found (are you missing a using directive or an assembly reference?)
Here is the featuredItemsRow.cshtml component file. https://prnt.sc/_gBCXnfJaxwi Here is the block selected as part of my page builder block. https://prnt.sc/p_MqFGvF2X_H I'm working on Umbraco Cloud at the moment but will look at getting the project cloned locally now that I have access to do so.
j
Sounds like you need to build your modelsbuilder models
w
Is there a way to do this in Umbraco Cloud or is it best doing this locally? It's the starter package so there is no dev/staging environment.
j
You should do it locally, most sites has modelsbuilder turned off on live so it can't mess anything up like the error you are experiencing. You can then do all model changes and view changes locally and push up so you know live can't get into a broken state by editors changing stuff they shouldnt
w
Gotch'ya! Repo cloned locally, time to get some lunch and then dig into this! Already got the docs opened for that too! https://docs.umbraco.com/umbraco-cloud/set-up/working-locally I'll let you know how i get on.
thank you for the support 🙂 repo sorted out locally and now i have another block section working perfectly. Awesome stuff!
116 Views