Two locations of gacutil.exe

bmw0128 picture bmw0128 · Mar 3, 2010 · Viewed 31.6k times · Source

I'm developing on Windows 2008 R2 Server, 64 bit. I'm learning how to use gacutil.exe I found two copies of this file:

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\

I built a dll in VS2007, then I added a build post event, that calls gacutil.exe to transfer the dll to GAC. Does it matter which gacutil.exe I use?

Answer

Daniel Situnayake picture Daniel Situnayake · Apr 14, 2010

I would assume that you should use the file located at

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64

since it is the 64bit version of the utility and you are developing on a 64bit OS.