lost of VisualState when using ActivityBuilder RRS feed

  • Question

  • hello,

    I try to load an ActivityBuilder in a re-hosted designer but these cause the lost of the Visual State of workflow, any idea ?

    XamlXmlReader xamlReader = new XamlXmlReader(@"..\..\Workflow.xaml");
    ActivityBuilder ab = XamlServices.Load(ActivityXamlServices.CreateBuilderReader(xamlReader)) as ActivityBuilder;
    WorkflowDesigner wd = new WorkflowDesigner();
    ps: these is a simplified use case

    Tuesday, June 11, 2013 8:30 AM