Errors Renaming Dependency Properties
Last changed: -80.126.16.139

.
Summary

If you receive an error like this:

Error 2 Could not create activity of type 'WorkflowConsoleApplication1.Activities.TestEventActivity1'. System.ArgumentException: Type 'WorkflowConsoleApplication1.Activities.TestEventActivity1' does not define a static dependency property with name 'StatusProperty'.

and you have just renamed a dependency property the cause might be that you forgot the rename the first parameter in the DependencyProperty Register() call. This is the parameter name but as a string so normal compile time checking doesn't work