I had restored my SharePoint 2013 on-premises site to another server. All the things got configured correctly but not for a reusable workflow which is SharePoint 2010 workflow.
This workflow uses Custom SharePoint Activities which I already re-deployed to the new server in GAC. Web application feature is activated for it and also these custom activities are available in SharePoint Designer if try to add any new condition. Content type columns are also available in workflow.
But when I try to publish this workflow, this gives me following error:
Errors were found when compiling the workflow. The workflow files were saved but cannot be run.
(0, 10) The type or namespace name 'DP' could not be found (are you missing a using directive or an assembly reference?)) (4321, 16) The type or namespace name 'DP' could not be found (are you missing a using directive or an assembly reference?))
So How can I bind this existing workflow again to the list as it was on previous environment?