【发布时间】:2012-06-15 15:14:27
【问题描述】:
我得到的反馈:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools>gacutil.
exe /i "C:\Users\wherever\ClassLibrary1.dll"
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Assembly successfully added to the cache
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools>
但不是在搜索的内容
gacutil.exe /l | clip
它不在 /Windows/assemblies 中
我正在使用 .net 4。
【问题讨论】:
-
谢谢。是否 C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\gacutil.exe /l 旨在获取 C:\Windows\Microsoft.NET\assembly 中存在的程序集\GAC_MSIL ?
-
netfx 4.0 工具下的 gacutil.exe 副本应该从两个程序集位置拉入。例如,在安装了 .net 1.1、2.0、3.5 和 4.0 的系统上,如果运行 micrsoft sdks\windows\v7.0a\bin\gacutil.exe /lr,如果从.netfx 4.0 工具,您将看到列出的 3 个程序集。
标签: .net com assemblies gac .net-assembly