Tuesday, March 25, 2014

NET : Easily Get DLL Assembly Info Via Visual Studio

Unfortunately, I had to try and remember how to easily get DLL information without going into the GAC. However, fortunately, there is easy way to get DLL assembly information ( including token, culture, & version ) directly from Visual Studio :
  1. Open your Visual Studio Solution
  2. Set a breakpoint and run in debug mode
  3. Open the Immediate Window
  4. Enter the path to your DLL using System.Reflection:
    ?System.Reflection.Assembly.LoadFile (@"C:\VSS\WebSoluable\bin\AjaxControlToolkit.dll").FullName

    And you should receive something similar to the following:
      "AjaxControlToolkit, Version=3.5.11119.20050, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"



      No comments:

      Post a Comment