GACUtil missing in Windows Server 2008/Visual Studio 2008 installation
I was testing Visual Studio 2008 on Windows Server 2008 for my research and development (sharepoint). Later I need to configure a post build for my class library in Visual Studio 2008. I need to set up the path as below:
"%programfiles%\[PATH_WHERE_THIS_TOOL_TO_BE_INSTALLED]\gacutil.exe" -if $(TargetPath)
cd $(ProjectDir)
Install.bat
So I decided to look for the GACUtil.exe's path. I searched into directories below and I was suprised that I wasn't able to find it:
** Take note, the file should be on the 1st path below based on Visual Studio 2005 installation
C:\Program Files\Microsoft Visual Studio 9.0\SDK\v3.5\Bin // NOT FOUND
C:\Program Files\Microsoft Visual Studio 9.0 // NOT FOUND
C:\Program Files\Microsoft.NET // NOT FOUND
Then I searched into C:\Windows\Microsoft.NET\Framework and found out gacutil.exe.config which was based on .NET 1.1. That was quite old. There was no gacutil.exe in there.
Where could the file be? I tried to search the whole C:\ and I had yet to find anything. Maybe I didn't index my search properly. Running on VPC 2007 and allocating 1GB of RAM were insufficient :(
I was able to run gacutil command in Visual Studio 2008 Command Prompt.
Lastly, I found out gacutil was located in C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin. This folder contains other assemblies like sn.exe.
Hope this could be handy for others :)