简体   繁体   English

无法在c:\\ windows \\ assembly中找到已安装的GAC

[英]unable to find installed GAC in c:\windows\assembly

i have installed a dll using the commands below 我已经使用以下命令安装了一个dll

C:\\Program Files (x86)\\Microsoft Visual Studio 12.0>gacutil.exe /i "C:\\temp\\ContosoProviders.dll" Microsoft (R) .NET Global Assembly Cache Utility. C:\\ Program Files(x86)\\ Microsoft Visual Studio 12.0> gacutil.exe / i“ C:\\ temp \\ ContosoProviders.dll” Microsoft(R).NET全局程序集缓存实用程序。 Version 4.0.30319.33440 Copyright (c) Microsoft Corporation. 版本4.0.30319.33440版权所有(c)Microsoft Corporation。 All rights reserved. 版权所有。

Assembly successfully added to the cache 程序集成功添加到缓存

i was unable to find the named GAC in the c:\\windows\\assembly 我在c:\\ windows \\ assembly中找不到命名的GAC

however when i use "C:\\assemblyinfo.txt", i was able to find the name of the assembly inside. 但是,当我使用“ C:\\ assemblyinfo.txt”时,我能够在其中找到程序集的名称。 is the assembly installed properly? 组件安装正确吗?

From .NET Framework 4.0 and higher assemblies started to be stored in a different physical location which is: .NET Framework 4.0及更高版本开始,程序集开始存储在不同的物理位置,这是:

C:\Windows\Microsoft.NET\assembly

You might find your dll there 您可能会在其中找到您的dll

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM