Thursday, July 9, 2009

Retrieve list of assemblies from GAC

Did you ever want to retrieve a list of assemblies along with their version in Global assembly cache? This will be helpful whenever we make system wide patching or updating to understand what changes happened in GAC or in case if you are troubleshooting on some other client machine if you want the version info of set of assemblies in that remote box quickly

Then this utility is a must in your toolbox(DumpUtil.exe). This console line application gives us a dump like the following

Sample output text from DumpUtil.exe
System.dll (1.1.4322.2407)
System.Configuration.Install.dll (1.1.4322.573)
System.Data.dll (1.1.4322.2365)
System.Data.OracleClient.dll (1.1.4322.2312)
System.Design.dll (1.1.4322.2300)
System.DirectoryServices.dll (1.1.4322.2300)
System.Drawing.dll (1.1.4322.2327)
System.Drawing.Design.dll (1.1.4322.573)
System.EnterpriseServices.dll (1.1.4322.2326)
System.EnterpriseServices.Thunk.dll (1.1.4322.2326)

Related link:

No comments: