Gacutil.exe for dotnet 2.0 ?

S

SenthilVel

hi ,

Where can we physically see gacutil.exe for dotnet2.0 version ?

i saw in my machine and its not appearing in
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727.

Is this gacutil.exe present in some other folder for .Net 2.0 ?

thanks
Senthil
http://dotnetcrunch.blogspot.com
 
C

Chris Fulstow

In VS2005 gacutil.exe has moved here:
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\gacutil.exe
 
S

SenthilVel

Hi chris ,
in my machine, where i have vs2005, i did not see this in my machine...why
....????

Also when i wanted to register the assemblies during the install time in a
client machine, where i can see the gacutil.exe ??

a typical case when the SDK will not be present in the client machine ?

thanks
Senthil
http://dotnetcrunch.blogspot.com
 
M

Morten Wennevik

Senthil,

It won't be present on the client machine. Either install the assembly
using a setup project, send gacutil.exe along with your project (or
install the entire SDK), or manually add the assembly by dropping the file
in C:\Windows\Assembly


If you install the .Net 2.0 SDK or Visual Studio 2005 (which installs the
SDK as well), the file should be in C:\Program Files\Microsoft Visual
Studio 8\SDK\v2.0\bin\gacutil.exe unless you have installed it to a
different location.
 
S

SenthilVel

Hi Morten ,

Thanks!!!

So the gacutil.exe must be present in the install setup program in the CD,
and when installation happens the gacutil.exe in the CD must be able to
install all the assemblies in GAC. Right ?

Also we cannot redistribite the Gacutil.exe to any client machine right ?

thanks
Senthil
 
M

Morten Wennevik

So the gacutil.exe must be present in the install setup program in the
CD,
and when installation happens the gacutil.exe in the CD must be able to
install all the assemblies in GAC. Right ?

No. Using a setup project, in the File System window, right click and Add
Special Folder -> Global Assembly Cache Folder. Then right click this
folder and select the files you need. No need to use gacutil at all, and
in fact, using the setup project option you have the added repair
functionality.
Also we cannot redistribite the Gacutil.exe to any client machine right ?

I doubt it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top