Friday, 22 November 2013

gacutil

What TWO caches is the gacutil useful for exploring?

gacutil is useful for two things - viewing and manipulating the Global Assembly Cache, a repository for .NET shared libraries, and the Download Cache, which downloads "managed objects" referenced in the HTML object element in web pages accessed from IE.

Where is the gac located?

In the pre-Dot Net 4 world, the gac was located, by default, in %windir%\assembly.  In Dot Net 4 onwards, this moved to %windir%\Microsoft.NET\assembly.

What BASIC commands can be done using gacutil?

gacutil /l  -- list contents of GAC
gacutil /ldl  -- list contents of download cache

No comments: