GACUtil “Assembly successfully added to the cache” but “Number of items = 0”
问题 Why, when I run: gacutil –i myAssembly.dll do I get: Assembly successfully added to the cache But then when I run: gacutil –l myAssembly.dll I get Number of items = 0 ? 回答1: try with gacutil –l myAssembly 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 回答2: Silly reason, really, but it took me what felt like hours to fix and is not really something you want to have to deal with when you