I'm trying to go through the tutorial in Tech Article - Developing a Custom Wizard using the K2 Wizard Template.pdf. Everything's working except for Step 11 – Copy working code back into the wizard file. I figured out that the ExtenderProjects folder is actually in C:Documents and SettingsusernameLocal SettingsTemp, but when I tried testing the final wizard, I got:
Error 1 Could not deserialize complex property 'WorkflowContext.LockedActivities'.
Could not set property 'WorkflowContext.LockedActivities' on object of type 'WorkflowContext'.
C:Program FilesMSBuildMicrosoftWindows Workflow Foundationv3.0Workflow.Targets
I've checked the @safeitemname@.xoml, and it appears to be right. The relevant section:
<ns0:WorkflowContext.LockedActivities>
<CodeActivity x:Name="codeActivity1" ExecuteCode="codeActivity1_ExecuteCode" />
</ns0:WorkflowContext.LockedActivities>
@safeitemname@.xoml.cs has a private void codeActivity1_ExecuteCode method.
Has anyone successfully completed this tutorial/demo? What am I missing?