Dynamic assembly load from byte[] RRS feed

  • Question

  • Hello

    I'm dynamically loading assembly before  creating WorkflowDesigner.

    When I load assembly from file, everything works as expected, but when assembly is loaded from byte[] ,e.g. Assembly.Load(asmRawBytes), WF designer sees my types in type browser but I can't use them in  expression (e.g."new MyTypeFromAssembly()" ) , I get  "Type 'MyTypeFromAssembly' is not defined"

    What could be the issue ?



    UPD: Neither TypeResolve  nor AssemblyResolve  nor ReflectionOnlyAssemblyResolve handlers are invoked on current AppDomain




    Monday, July 18, 2011 11:56 AM