ILMerge - assembly.GetType() throwing exception saying could not find type from assembly. RRS feed

  • Question

  • I have 3 assemblies say A1,A2 and A3.

    I have combined these assemblies into 1 assembly say C1 using ILMerge.exe. After combining the assemblies and if want to work with my application, do we need to have the original dlls also?

    Implies, do i need to have C1 along with A1, A2, A3 dlls in my bin/debug folder to run my application.

    Because, when i try to initialize a class using assembly.GetType(), i am getting the type load exception saying that i could not able to load the type from the assembly.

    When i have  A1, A2, A3 dlls along with C1 only, my application is working. If i remove  A1, A2, A3 dlls and keep only C1, my application is not working.


    Could any one help why this problem occurs.


    Wednesday, June 16, 2010 12:48 PM

All replies