WF4 RC - Cannot create unknown type when loading WF Service from loose Xaml with ActivityXamlServices

后端 未结 4 1833
清酒与你
清酒与你 2021-01-02 12:45

I am trying to host a WF4 (RC) Service dynamically. I have a test solution with two projects. The first is a declarative workflow service library with one root Flowchart act

4条回答
  •  一向
    一向 (楼主)
    2021-01-02 13:39

    Short answer - Xaml load can't infer the local (default) assembly, so you need to specify it on XamlReaderSettings.LocalAssembly.

提交回复
热议问题