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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -