This project is read-only.

WWF 4.5 C# Help with invoking a child workflow via LoadAndInvokeWorkflow

Nov 26, 2012 at 8:11 PM

I would like to have a main file based Workflow invoke a file based child workflow.

I have tried this and the main file works fine as soon as I call the child from the main using a LoadAndInvokeWorkflow activity I get the following error.

"Expression Activity type 'CSharpReference`1' requires compilation in order to run.  Please ensure that the workflow has been compiled."

I know when invoking a workflow with C# via code you need to add the following:

Activity service = ActivityXamlServices.Load(xamlxName,new ActivityXamlServicesSettings{ CompileExpressions = true });

But I would have expected that Microsoft.Activities.Extensions to have that included or at least have a setting somewhere.

But I can't find any or get this to work.


Feb 26, 2013 at 10:21 AM