Skip to content


Missing gacutil.exe

Why is my gacutil.exe missing?

“c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe is not recognized as an internal or external command”

Note: if you are running Windows Server 2008 and Visual Studio 2008 then you have the Gacutil.exe already. Se this post.

I have several times looked for the gacutil.exe file when I needed to make a batch script to copy a DLL file to the windows assembly folder (GAC, C:\Windows\Assembly)
This GAC is a bit special so you can’t just xcopy the dll file to it, you have to use for instance the gacutil.
The gacutil is a part of the .NET 2.0 Framework SDK.

When the SDK is installed you will have the gacutil at the following path:

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe

You can not enjoy easy copy to GAC using a script such as this:

@SET GACUTIL=”c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe”

Echo Installing mydll in GAC
%GACUTIL% -if bin\debug\mydllL.dll

DeliciousDiggTwitterFacebookLinkedInTechNetStumbleUponNewsVineTechnorati FavoritesSlashdotMSDNShare

Related posts:

  1. Missing Gacutil.exe running Windows Server 2008 / Vista / Visual Studio 2008

Posted in .NET.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.



Page optimized by WP Minify WordPress Plugin