D
Darren Green
Hi,
I have written a custom control, but in that control's code I want to
reference the assembly for the application that uses my control.
GetExecutingAssembly just gives me my control's assembly, which seems
sensible, but not what I want. I also tried GetCallingAssembly, but this
came up with MS framework, System.Windows.Forms.dll
How can I get the assembly that is using my control?
(Using Whidbey in case there is some fancy new way of doing this)
Cheers
I have written a custom control, but in that control's code I want to
reference the assembly for the application that uses my control.
GetExecutingAssembly just gives me my control's assembly, which seems
sensible, but not what I want. I also tried GetCallingAssembly, but this
came up with MS framework, System.Windows.Forms.dll
How can I get the assembly that is using my control?
(Using Whidbey in case there is some fancy new way of doing this)
Cheers