|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Assembly info from separate project?I have an asp.net project which originally had some code to get assembly information from itself and display this in the footer of the page. I have since made few server controls, and now moved this functionality into the "Copyright" control...my problem is that the code returns the assembly information from itself, ie, the "Copyright" footer .dll...not from the main web application .dll... I've looked at [Assembly].GetCallingAssembly and [Assembly.GetExecutingAssembly but neither of these look like they have any support for jumping ship to another .dll to interrogate.. Anyone got any ideas? Regards Rob Check out System.Diagnostics.FileVersionInfo.GetVersionInfo, I think it
will do what you need. "BK" wrote...
> Check out System.Diagnostics.FileVersionInfo.GetVersionInfo, I think it Hi BK, thanks for the info - one more question if I may, if the above was to > will do what you need. do what I wanted, wouldn't it be relying on me supplying the name of the "parent" .dll? My template controls are unlikely to know this unless there is a clever way to detect it - a bit like the "GetCallingAssembly" method of Assembly for example.. Any thoughts? Regards Rob
Menus from a database table and addhandler
EDITITEMTEMPLATE FINDCONTROL PROBLEM EDITITEMTEMPLATE FINDCONTROL PROBLEM Problem with two version of program in one code and class referenc Force Windows to "See" new files burned to a CD/DVD? Internet connection present? Obtain info from other computer Beginner VB.NET group? How do you handle versioning of a multi-project solution? SendMessage() |
|||||||||||||||||||||||