Strange Bug while developing Activity RRS feed

  • Question

  • While I was developing my last activity I've encountered some strange bug. I've created new Activity Library project. Add some activity. Add some dependency properties to it, add properties exposing the dependency ones. Everything builds OK. Then I decide to change the type of one of the properties for let say from string to datetime. Everything builds OK again, but when I go to the console app, where I test my activities it wouldn't build. The compiler says it cannot find the changed property that take the new type as argument:

    "Error 1 Could not create activity of type 'WorkflowConsoleApplication1.Workflow1'. Method not found: 'Void ActivityLibrary.TestActivity.set_SavePath(System.DateTime)'."

    Wednesday, December 21, 2005 10:55 PM


  • Stefan,

    This is a bug in Beta1. After a referenced activity type is changed the old type is still loaded in application domain, and the new properties are not visible. If you close and reopen Visual Studio, it should build fine.


    Thursday, December 22, 2005 1:25 AM