I have an assembly: SomeAssembly.dll
I have a GACUtil folder in my path: C: \ Program Files (x86) \ Microsoft SDK \ Windows \ v7.0A \ Bin \ NETFX 4.0 Tools
I go to the SomeAssembly.dll folder, execute
GACUtil /i SomeAssembly.dll
Answer:
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved. Assembly successfully added to the cache
I check C: \ Windows \ Assembly , but my assembly does not exist.
I return to my command window (which, as I note, the Administrator has) and type:
GACUtil /l SomeAssembly.dll
and the answer confirms ...
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved. The Global Assembly Cache contains the following assemblies: Number of items = 0
So it seems SomeAssembly.dll is missing from the GAC
Why?
source share