I have got a web solution in ASP.net and i am trying to get the product assembly information from within another DLL library that is used by the pages.
So basically, [myPage.aspx] -> [myDLL.method()]
i want [myDLL.method()] to be able to get the assembly info of the pages project and not of the DLL project.
I tried using
Assembly.GetExecutingAssembly() Assembly.GetCallingAssembly(); Assembly.GetExecutingAssembly().ManifestModule.Assembly;
i keep getting the DLL assembly in all cases.
Any idea how to get the main assembly info?