I have an assembly: SomeAssembly.dll
I have GACUtil's folder on my path: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools
I change to the folder where SomeAssembly.dll is, execute
GACUtil /i SomeAssembly.dll
The response is:
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 appear to be there.
I return to my command window (which I note has Administrator rights) and type:
GACUtil /l SomeAssembly.dll
and the response 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 not in the GAC
Why?