I was getting this error message in Visual Studio 2008 when adding a custom activity to an existing workflow.
Solution
This worked for me, your mileage, may and probably will vary.
It was necessary for me to un-gac the workflow project, then the custom activities could be added to the design surface as expected.