M
Marty
Hi,
I am using C#.NET 2003.
First step:
When I call
System.Reflection.Assembly.GetCallingAssembly().GetName().Name;
in debug mode from the IDE, I get a specific Assembly name.
Second step:
Then I compile my project in debug mode, and run it fron the builded
..exe file.
I call again the
System.Reflection.Assembly.GetCallingAssembly().GetName().Name;
and I get a different assembly name for the same code as in first step.
Our application call dll#1, and dll#1 call dll#2.
In first step, dll#2 should return "calling assembly = dll#1", but it
return "calling assembly = dll#2".
Does it make sense? Any idea to get the same calling assembly name from
both step?
Regards,
Marty
I am using C#.NET 2003.
First step:
When I call
System.Reflection.Assembly.GetCallingAssembly().GetName().Name;
in debug mode from the IDE, I get a specific Assembly name.
Second step:
Then I compile my project in debug mode, and run it fron the builded
..exe file.
I call again the
System.Reflection.Assembly.GetCallingAssembly().GetName().Name;
and I get a different assembly name for the same code as in first step.
Our application call dll#1, and dll#1 call dll#2.
In first step, dll#2 should return "calling assembly = dll#1", but it
return "calling assembly = dll#2".
Does it make sense? Any idea to get the same calling assembly name from
both step?
Regards,
Marty