Where is gacutil.exe in Windows 10?

僤鯓⒐⒋嵵緔 提交于 2019-12-10 01:43:20

问题


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!


回答1:


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




回答2:


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"




回答3:


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:

Syntax: where <executable.exe>



来源:https://stackoverflow.com/questions/40434572/where-is-gacutil-exe-in-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!