Did the project you published include .DLLs by any chance?
Errors like this usually happen when a wrong .DLL is used, in most cases by opening a packaged project from earlier-later version of Workflow and allowing/telling it to overwrite the .DLLs in the system with the ones from package.