Hello, I’ve tried
But this returns the current assembly the method is called from.
For example, I have a “CommonLibrary” that I would like it to get the mainAssembly name automatically. (for logging purpose).
I have 5+ different main projects, that all use the “CommonLibrary”.
The Title/Description/Company/Product/etc info in the AssemblyInformation from the ConsoleApplication would work also.
Is there a way for a library to obtain this information?
My Plan B is to set in my “CommonLib” the executing App name from the Main, example:
But I would like to refrain from doing that…