Friday, January 16, 2009

File path for the GAC assemblies

Scenario:
I use Visual Studio and Reflector quite often and one common thing I usually do with both is reference binaries from GAC.
So whats the best way to get the file path to GAC assemblies.

Solution:
Command line provide a special switch for the same. Here's the example.

Code:


cd C:\windows\Assembly
dir BinaryName.dll /s

3 comments:

Chaitu October 23, 2010 at 6:08 PM  

Nice one. Unfortunately this nice command did not work in Powershell.

Anonymous,  January 3, 2012 at 10:22 AM  

errrr use the command window!

Anonymous,  December 30, 2015 at 4:57 AM  

great!!! it works for me.. Thanks a lot..