湖边的白杨树

探索是一种乐趣

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

之前一直运行正常的xaml突然不能运行了,总是显示如下错误。

 

The test caught an unhandled exception. Caught: System.Activities.InvalidWorkflowException: The following errors were encountered while processing the workflow tree: 'DynamicActivity': The private implementation of activity '1: DynamicActivity' has the following validation error: Compiler error(s) encountered processing expression "XXXXXXX". Type 'XXXXXX' is not defined. '

 

后来发现mva:VisualBasic.Settings 默认为{x:null}, 将其改为”mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces" 后一切正常。

posted on 2015-01-04 13:37  fdyang  阅读(320)  评论(0编辑  收藏  举报