Where is gacutil.exe in Windows 10?

2020-08-11 04:25发布

I've got Windows 10 Pro 64 bit, Microsoft Visual Studio 2015 and the full Windows 10 SDK package but I'm not able to find gacutil.exe in:

  • Microsoft Visual Studio 2015 subdirectories
  • Windows 10 SDK subdirectories
  • C:\Windows\Microsoft.NET subdirectories
  • C:\Windows\System32
  • C:\Windows\SysWOW64
  • C:\Program Files\Reference Assemblies subdirectories
  • C:\Program Files (x86)\Reference Assemblies subdirectories

Don't come tell me it's a duplicate, please. The other answers don't actually answer my question.

Any idea? Thanks in advance!

3条回答
倾城 Initia
2楼-- · 2020-08-11 04:40

I had to use the Microsoft Visual Studio 2015 Developer Command Prompt.

Unfortunately, Microsoft KB's are outdated and they usually give the wrong answers.

Go to Start -> Visual Studio 2015 -> Developer Command Prompt for VS2015

查看更多
\"骚年 ilove
3楼-- · 2020-08-11 04:43

If you want find gacutil location then Follow this:

  1. Go to Start menu.
  2. A-search and find Developer Command Prompt
    or
    B-find and open Visual Studio 201_(2,3,5,7) Folder
  3. click Developer Command Prompt for vs201(2,3,5,7)

  4. Type and enter:( where gacutil )

  5. "Developer Command Prompt" will be return location of gacutil.exe

But if you want cache dll , location of gacutil not necessary, Just run "Developer Command Prompt" and type : gacutil /i "dll_path"

查看更多
Bombasti
4楼-- · 2020-08-11 04:52

In Windows 10, gacutil.exe is located here:

C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\gacutil.exe

Note that the Framework directory NETFX <version> Tools, can be different; if you don't have 4.6.1 installed, you will have another version installed instead.

To find out where any EXE in your PATH is coming from, you can use the where utility:

Screenshot showing how where utility in action.

Syntax: where <executable.exe>

查看更多
登录 后发表回答