I've installed Worfklow Manger 1.0. I can use WorkflowManagerClient to browse scopes. But when I try to publish activity I get this error:
System.InvalidOperationException: Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors: Invalid type(s) 'System.Activities.Expressions.AssemblyReference'.
Activity is an empty activity created from template in VS. There is no custom types used in it. I've found this post and I quess I could create AllowedTypes.xml file but it feels wierd to add types that are used in base empty activity - basically system types (System.Activities.Expressions.AssemblyReference).
Do I need to create allowdtypes file and put System.Activities.Expressions.AssemblyReference as one type ? Did anyone have to do that ?
Edit:
Other types that caus the same error are:
Microsoft.CSharp.Activities.CSharpReference`1
Microsoft.CSharp.Activities.CSharpValue`1
So it turns out that I should've used ExpressionTranslator to translade all activities before publish. The translation is a step in process of publishing of the Workflow in Workflow Manager. it basically translates all expressions in Workflow Activities in a form required by XAML, before the workflow is published (installed) to the host.
I've used Workflow Manager tutorial Translate method: