Hi,

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?

thanks.

>Any idea how to get the main assembly info?

Sorry, I'm not quite following the problem. My understanding from your description is that you are looking for Assembly Dependencies.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.