asp.netvb.net

How to get product name and product description from AssemblyInfo?


I need to get the product name and description from the AssemblyInfo.vb in ASP.NET. I know how to get the version number, but I couldn't find a way to get any other information.

Reflection.Assembly.Load("App_code").GetName().Version

Solution

  • Assembly.Load("App_code").GetCustomAttributes(GetType(AssemblyProductAttribute), False).First().Product
    

    Thanks to @dropoutcoder