GACUtil“程序集成功添加到缓存"但是“项目数= 0" [英] GACUtil "Assembly successfully added to the cache" but "Number of items = 0"

查看:104
本文介绍了GACUtil“程序集成功添加到缓存"但是“项目数= 0"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么,当我跑步时:

gacutil –i  myAssembly.dll

我明白了吗?

Assembly successfully added to the cache

但是当我跑步时:

gacutil –l  myAssembly.dll

我知道

Number of items = 0

?

推荐答案

尝试

gacutil –l  myAssembly

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

donot add .dll at last.So if the dll is registered in GAC it will display

Number of items = 1

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

这篇关于GACUtil“程序集成功添加到缓存"但是“项目数= 0"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆