c# - Umbraco Custom Controllers, the basics -


i getting error "the type or namespace name 'umbraco' not found"

i using in custom controller homecontroller.cs lives in root/controllers/homecontroller.cs.

but can not seem find umbraco namespaces.

using umbraco.web; using umbraco.web.models;  namespace umbraco.umbraco.controllers { public partial class homecontroller : umbraco.web.mvc.rendermvccontroller {  } } 

any basic appreciated

regards

can try renaming namespace?

umbraco.umbraco.controllers  

to

yourproject.controllers 

Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -