I am having problems creating a variable of type IList<MyCustomType>. The workflows themselves are in one (Workflows) assembly and the custom types are in a different assembly (BusinessObjects). Workflows references BusinessObjects and everything seems
fine in the designer.
When I try to run the workflow I get a SourceExpressionException - 'Compiler error(s) encountered processing expression "myVariable". Type 'MyCustomType' is not defined.
This exception comes from Microsoft.VisualBasic.Activities.VisualBasicHelper.Compile.
It appears that the runtime is not able to find this type, but I am not sure why. The BusinessObjects assembly is available in the directory that the executable is running in.
Has anyone got any examples of creating and passing variables using generics where the type parameter is a custom type?
View Complete Post