views:

90

answers:

2

Hello everyone,

I am using Windows 7 Enterprise 32 bit. I have used Windows command line, and also used VSTS 2008 command line, but when executing gacutil.exe, there is command not found error.

I am wondering whether I need to install gacutil.exe from somewhere or gacutil.exe is located in somewhere else in my computer (I searched my computer, but find several files called gacutil.exe, I do not know which one should be used)?

BTW: I am using .Net 3.5.

thanks in advance, George

+1  A: 

You may have installed multiple versions of .NET in parallel. It does not matter which gacutil you use, since there is only one GAC.

codymanix
But why from command line or VSTS 2008 command line, there is no such command (gacutil.exe)? Shall I use a full path to execute it? If so, there is the full-path?
George2
gacutil is part of Windows SDK, major versions of which are 6 and 7. And gacutils there are different
Andrey
+2  A: 

gacutil comes with Visual Studio, not with VSTS. It is part of Windows SDK and can be download separately at http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&displaylang=en . This installation will have gacutil.exe included. But first check it here: C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin you might have it installed.

Andrey
Thanks, question answered!
George2