• Grumpy Wookie

  • Archives

  • Top Posts

  • Recent Visitors

  • Blog Stats

    • 350,422 hits

GACUTIL – Visual Studio 2008

Often it’s useful to have assembly files added to the Global Assembly Cache using a command-line (DOS-style) batch program – eg. install.bat

For Visual Studio 2005, this file (GACUTIL.EXE) is located here…>

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

So, for Visual Studio 2008, I had assumed it would be in the same location – or even in the new v3.5 folder…>

C:\Program Files\Microsoft Visual Studio 9.0\SDK\v3.5\Bin\

BUT – it’s not in either of those locations, and (after some hunting and Google’ing – and not sure why), but I found it here…>

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

NB.  This is for a Windows Server 2008 implementation – a quick check onto a Windows Vista (x64) machine verifies has the same file location.

So – there ya go – if you’re wondering “where is gacutil ?” – you know where to look !

Advertisements

13 Responses

  1. Thank you, this was most helpfull.

  2. Thank you,
    this post was so helpfull for me

  3. Thanks – this helped a ton!

  4. Das habe ich gesucht!

  5. Thank-you!!!
    And to Microsoft for wasting so much of our time…
    NO SOUP FOR YOU!!!

  6. Thank you!

  7. But what if Visual Studio is not installed on the server – like a real world situation where the server has NOT got Visual Studio on it, but your local developement PC does?

  8. Thanks a lot! Your efforts really has helped a lot of people šŸ™‚

  9. i also find different exe here
    C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
    1.ildasm.exe
    2.SqlMetal.exe
    3.wsdl.exe
    etc…

  10. For those who still have Conrad’s question, open a command window:

    cd “\Program Files”
    dir /s gacutil.exe

    If not found and running 64-bit, then

    cd “\Program Files (x86)”
    dir /s gacutil.exe

    If all else fails and you’ve got some time

    cd \
    dir /s gacutil.exe

    So why not search from within Windows Explorer? I have often found it unable to find files on my machine that I KNOW exist. The command line method always finds them for me. Notepad++ is also good alternative.

  11. I thank you, and my blood pressure thanks you!!

  12. I have a production Windows 2008 server (No Visual Studio) and I have searched the entire C drive and I cannot find gacutil.exe. And i need gacutil.exe for .NET 4.0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: