Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to load a Dll at runtime using Reflection and I am getting the "Exception has been thrown by the target of an invocation" .
I have seen the Innermessage of that exception and it is saying that one control in my form is missed.when I see my dll in the Reflector ,I am able to see the control.I dont know how I am getting that message.
I have tried with latest dlls in my application.But,not able to solve.

Can anyone please tell me how to go ahead in this issue.

Thanks,
M.Srikrishna Murthy
Posted

1 solution

The most likely cause I've seen is a dependent assembly not being present or not the proper version.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900