在哪里可以找到GACUtil? [英] Where can I find GACUtil?

查看:89
本文介绍了在哪里可以找到GACUtil?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道有很多人问同样的事情,我已经阅读了所有相关文章,但是找不到gacutil.exe,我在看C:\ WINDOWS \ microsoft.net \ Framework \ v1.1.4322,我找到了gacutil.exe.config,但显然它只是配置文件.我需要在GAC中包含一个dll.

I know there have been many people asking the same thing, I have read all the posts related, but I couldn't find the gacutil.exe, I was looking at C:\WINDOWS\microsoft.net\Framework\v1.1.4322 and I found gacutil.exe.config but obviously it is just the config file. I need include a dll in the GAC.

这是我一直没有成功找到exe的列表:

this is a list from where I was looking the exe without any success:

  • C:\ Program Files \ Microsoft.NET
  • C:\ WINDOWS \ microsoft.net \ Framework \ v1.1.4322
  • C:\ Program Files \ Microsoft Visual Studio 8 \ SDK \ v2.0 \ Bin

谢谢.

推荐答案

您可以在C:\ windows \ assembly \

You can find the GAC in any windows box under C:\windows\assembly\

或%windir%\ assembly

or %windir%\assembly

GACUTIL -i文件名向GAC注册该文件,但不一定在%windir%\ assembly文件夹中找到该文件.这是由SHFUSION.DLL控制的虚拟文件夹,该文件夹是Windows资源管理器用来显示这些文件的插件.

GACUTIL -i filename registers the file with the GAC but doesn't necessarily locate the file inside the %windir%\assembly folder. This is a virtual folder controlled by SHFUSION.DLL which is a plugin windows explorer uses to display those files.

在此处进一步阅读

如果您不能简单地键入GACUTIL/?从cmd提示.您可以在Windows中导航到Windows dir的assembly子文件夹,然后将dll拖放到该文件夹​​中.您需要成为计算机的管理员才能执行此操作.

If you can't simply type GACUTIL /? from a cmd prompt. You can navigate in windows to the assembly sub folder of windows dir and drag/drop the dll inside that folder. You'll need to be an administrator of the pc to do this.

通常使用此工具来启动VS 2010命令提示符,因为它具有适当的%PATH%变量设置来定位gacutil cmd.

Typically to access this utility I fire up the VS 2010 Command Prompt as it has the appropriate %PATH% variable settings to locate the gacutil cmd.

在我的盒子上,我有4份副本...第一个位于此处.C:\ Program Files(x86)\ Microsoft SDKs \ Windows \ v7.0A \ Bin \ NETFX 4.0 Tools \ x64

On my box, I have 4 copies... First one is located here. C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64

最有可能的问题是,您尝试在其上安装的盒子上没有安装1.1框架的sdk框架.您可以在此处下载

The issue most likely is that you don't have the framework sdk for the 1.1 framework installed on the box you're trying to do this on. You can download that here

这篇关于在哪里可以找到GACUtil?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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