title: Invalid type(s) error while publishing Activity to WorkflowManager
body: <p>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:</p>
  
  <pre><code>System.InvalidOperationException: Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors: Invalid type(s) 'System.Activities.Expressions.AssemblyReference'.
  </code></pre>
  
  <p>Activity is an empty activity created from template in VS. There is no custom types used in it. I've found <a href="https://social.msdn.microsoft.com/Forums/sharepoint/en-US/3c1928cc-6cb7-4a5c-bbba-30d23b064e1c/invalid-type-s-systemactivitiesexpressionsassemblyreference?forum=sharepointdevelopment" rel="nofollow">this post</a> 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 (<em>System.Activities.Expressions.AssemblyReference</em>). </p>
  
  <p>Do I need to create allowdtypes file and put <em>System.Activities.Expressions.AssemblyReference</em> as one type ? Did anyone have to do that ? </p>
  
  <p><strong>Edit:</strong> </p>
  
  <p>Other types that caus the same error are: </p>
  
  <pre><code>Microsoft.CSharp.Activities.CSharpReference`1
  Microsoft.CSharp.Activities.CSharpValue`1
  </code></pre>