I've inherited (seems a familar theme!) a 6.2.5 site and trying to upgrade to 7.5.11, then get it into Umbraco Cloud. I've got the 6.2.5 site running as a web app locally (thanks to all the posts). Upgraded via NuGet to 7.5.11 and followed the "Upgrading to v7" instructions. Every time I do this I get an IActionHander error when building the site.
"The type or namespace name 'IActionHandler' could not be found (are you missing a using directive or an assembly reference?) "
I've CMS as an assembly (which seems to provide this class?)
This is the code that is throwing the error (Line 11)
Line 1: using System;
Line 2: using System.Collections.Generic;
Line 3: using System.Linq;
Line 4: using System.Web;
Line 5: using umbraco;
Line 6: using umbraco.BusinessLogic.Actions;
Line 7: using umbraco.BusinessLogic.console;
Line 8: using umbraco.cms.businesslogic.web;
Line 9: using umbraco.interfaces;
Line 10:
Line 11: public class AutoCreateYearFolder : IActionHandler
Line 12: {
Line 13: #region IActionHandler Members
Line 14:
Line 15: public bool Execute(Document documentObject, IAction action)
Upgrading to 7.5.11 IActionHandler error
I've inherited (seems a familar theme!) a 6.2.5 site and trying to upgrade to 7.5.11, then get it into Umbraco Cloud. I've got the 6.2.5 site running as a web app locally (thanks to all the posts). Upgraded via NuGet to 7.5.11 and followed the "Upgrading to v7" instructions. Every time I do this I get an IActionHander error when building the site.
"The type or namespace name 'IActionHandler' could not be found (are you missing a using directive or an assembly reference?) " I've CMS as an assembly (which seems to provide this class?)
This is the code that is throwing the error (Line 11)
Line 1: using System;
Line 2: using System.Collections.Generic;
Line 3: using System.Linq;
Line 4: using System.Web;
Line 5: using umbraco;
Line 6: using umbraco.BusinessLogic.Actions;
Line 7: using umbraco.BusinessLogic.console;
Line 8: using umbraco.cms.businesslogic.web;
Line 9: using umbraco.interfaces;
Line 10:
Line 11: public class AutoCreateYearFolder : IActionHandler
Line 12: { Line 13: #region IActionHandler Members
Line 14:
Line 15: public bool Execute(Document documentObject, IAction action)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.