I want my strong named assembly installed in the GAC using the post-build event in the compiler settings.
I can use the following command line listed below if I had VS 2005 installed however, I do not and Visual Studio 2008 does not contain the gacutil.exe.
"%programfile%\Micorsoft\V
isual Studio 8\SDK\v2.0\Bin\gacutil.exe
" -if $(TargetPath)
Is there a diffent way to do this in VS 2008?
I did find gacutil.exe in the following locations:
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
C:\Windows\Microsoft.NET\F
ramework\v
1.1.4322
C:\WINDOWS\system32\dllcac
he
I entered in the command line for "C:\Windows\Microsoft.NET\
Framework\
v1.1.4322\
gacutil.ex
e" -if $(TargetPath) but it did not install it into the GAC.
I can drag the DLL in the Bin folder to the GAC and it installed it fine.
Start Free Trial