我知道微软声称要运行
gacutil -l
从VS命令提示符获取列表。
因此,当我运行列表时,显示内容遍布窗口,我在gac中总共有1649个项目。
在这种情况下,我现在知道我需要移除什么Oracal。那么,是否有更简单的方法来查看/搜索GAC中的内容?
答案 0 :(得分:6)
在c:\ windows \ assembly中搜索无法提供帮助,因为从病毒网站上的.net 4.0开始,GAC有一个不同的位置(%windir%\ Microsoft.NET \ assembly)。
请参阅此处.NET 4.0 has a new GAC, why?
message-id:ID:sdnet-mb1-45259-1466517935373-3947:1:1:1:751006
destination:/topic/output.4c5d7481-fa5e-4f2f-d26d-d4e8095b9dd2_s_01
timestamp:1467279400475
expires:0
subscription:sub-0
persistent:true
priority:4
{"sensor":"4c5d7481-fa5e-4f2f-d26d-d4e8095b9dd2","stream":"s_01","values":[{"time":"2016-06-30T11:36:39+0200","components":{"b_6300_Hz":"56.6","b_50_Hz":"16.0","b_3150_Hz":"65.7","b_31_5_Hz":"12.9","b_500_Hz":"60.1","b_400_Hz":"54.5","b_160_Hz":"52.4","b_10000_Hz":"-11.8","b_8000_Hz":"45.6","b_80_Hz":"29.1","b_20000_Hz":"-9.5","b_5000_Hz":"59.4","b_1600_Hz":"67.4","b_1000_Hz":"61.6","b_20_Hz":"17.9","b_125_Hz":"40.5","b_40_Hz":"16.0","b_4000_Hz":"62.7","b_12500_Hz":"-10.6","b_25_Hz":"12.9","b_250_Hz":"55.5","LAeq":"75.2","b_630_Hz":"57.9","b_315_Hz":"55.7","b_200_Hz":"47.6","b_2000_Hz":"67.4","b_63_Hz":"29.1","b_100_Hz":"34.8","b_16_Hz":"17.9","b_1250_Hz":"60.6","b_800_Hz":"66.5","b_16000_Hz":"-9.3","b_2500_Hz":"62.6"}}]}
是在两个位置搜索的方式,即%systemroot%\ assembly和%windir%\ Microsoft.NET \ assembly \
对于您的问题,您可以尝试
gacutil
(Oracle.DataAccess.dll是我记得为Oracle Data Provider for .NET安装的)
但是上面的命令不支持通配符,因此程序集名称应完全匹配。
一个hack就是将结果传递给find命令,然后应用过滤器
gacutil -l Oracle.DataAccess
(确保在管理模式下打开VS命令提示符)
答案 1 :(得分:1)