locked
dynamic WF load + 2 local assemblies RRS feed

  • Question

  • So i am loading this XAML dynamically, (so i can tweak it in my external designer) , passing the dll containing my custom activity , ( via localassembly). This is hosted at a client site. all is working great.

    now i am going to push through a new set of custom activities- so its a new DLL.

    How do i get my xaml loading code to pick up the new dll as well...and some more in future?

    I am sure its doable. any ideas?

    • Edited by Bizframe Tuesday, February 7, 2012 8:23 PM
    Tuesday, February 7, 2012 8:18 PM

Answers


  • Your description is a little sketchy. Do you mean you are using XAML namespaces with "clr-namespace:x.y.z" and no assembly= and setting local assembly on XamlReaderSettings?

    I believe you can only specify one 'local' assembly in a XamlReaderSettings.

    Possibly it would be better for you to be using assembly qualified namespaces in order for your XAML loading to pick up additional DLLs. Because as long as you have assembly= there, they will be picked up following normal assembly loading rules (assemblies in execution folder [xcopy deploy style], in GAC, assemblies you already loaded into your app domain load context, etc).
    Tim

    • Marked as answer by LeoTang Tuesday, February 14, 2012 2:06 PM
    Thursday, February 9, 2012 6:00 AM