GACUtil"程序集已成功添加到缓存"但"项目数= 0"

Mic*_*ues 11 gac gacutil

为什么,当我跑:

gacutil –i  myAssembly.dll
Run Code Online (Sandbox Code Playgroud)

我得到:

Assembly successfully added to the cache
Run Code Online (Sandbox Code Playgroud)

但是当我跑步时:

gacutil –l  myAssembly.dll
Run Code Online (Sandbox Code Playgroud)

我明白了

Number of items = 0
Run Code Online (Sandbox Code Playgroud)

ani*_*key 13

尝试

gacutil –l  myAssembly
Run Code Online (Sandbox Code Playgroud)

最后不要添加.dll.如果dll在GAC中注册,它将显示

Number of items = 1
Run Code Online (Sandbox Code Playgroud)

http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx