Hi,
It is probably that the required assembly is missing. You can add the assembly reference to preload the assembly or using the assembly resolver. For more information, you can refer to the following thread:
How to solve unknow type problem when load a Xmal file
http://social.msdn.microsoft.com/Forums/en-US/wfprerelease/thread/60d8d5e6-87dc-47ef-b808-823825b162b6
Leo Tang [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.