The Problem SolverWIndows Workflow Foundation
HomeShow ChangesEditPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename

Search

History

26-11-2007 08:22:135-10-2007 02:48:098-12-2006 16:02:31

List all versions

Errors Renaming Dependency Properties
.
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

Wiki Usage

This wiki site is supposed to be a shared resource. As a shared resource everyone is encouraged to add new content or modify existing content!

Enjoy the WF wiki.

Recent Topics