Melody
Melody

Reputation: 471

Where is gacutil.exe in Windows 10?

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:

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

Any idea? Thanks in advance!

Upvotes: 14

Views: 42415

Answers (5)

Li Ping
Li Ping

Reputation: 1

I'm using OS Name: Microsoft Windows 10 Pro OS Version: 10.0.19041 N/A Build 19041

Much thanks and appreciation to George & 'sbus' :) Previously I'm unable to view dlls under C:\Windows\Microsoft.NET\assembly\GAC_MSIL even though there's no error during registration.

After changing to this latest .NET 4.8's gacutil, finally able to register and see the component properly in the said folder already.

The path where these files are placed is C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319

The above happens when we try to migrate an existing Win7 client to Win10. At the same time, we also found for some older/Win7 apps at the latest Win10, you'll need to re-install back the [Microsoft Visual C++ 2008 Redistributable Package] (both 32-bit & 64-bit) in order to be backward compatible.

Good day & much thanks again :)

Upvotes: 0

sbus
sbus

Reputation: 21

I just installed the .NET 4.8 developer pack; gacutil is located at:

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

You can download the .NET 4.8 developer pack at:

https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net48-developer-pack-offline-installer

(I am running Win10 Pro 64-bit)

Upvotes: 1

George Stocker
George Stocker

Reputation: 57872

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>

Upvotes: 11

amin
amin

Reputation: 581

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"

Upvotes: 14

Melody
Melody

Reputation: 471

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

Upvotes: 17

Related Questions