I
Ishai Sagi
Hello folks,
I wrote myself a logging infrastructure that logs events to an xml
file. nice and simple.
I want to add to the xml file the details of the assembly that called
the logger. if the called is a windows application (exe) I could just
used "system.Reflection.Assembly.GetEntryAssembly" and logged the name.
however, some of the applications using the logger dll are VSTO2005
customizations, with custom windows controls that throw the errors. so
basically its:
word customization>custom control>log handler
I want to know which word customization called me, and GetEntryAssembly
returns null...
so, short of passing the assembly information down the track to the
dll, is ther any way I can from the dll know who called me???
I wrote myself a logging infrastructure that logs events to an xml
file. nice and simple.
I want to add to the xml file the details of the assembly that called
the logger. if the called is a windows application (exe) I could just
used "system.Reflection.Assembly.GetEntryAssembly" and logged the name.
however, some of the applications using the logger dll are VSTO2005
customizations, with custom windows controls that throw the errors. so
basically its:
word customization>custom control>log handler
I want to know which word customization called me, and GetEntryAssembly
returns null...
so, short of passing the assembly information down the track to the
dll, is ther any way I can from the dll know who called me???