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

javascript - Can Piwik report referrer in real time? -

asp.net - Google Drive Access: At least one client secrets (Installed or Web) should be set -

excel vba add hyperlink to shape in group -