Installing a file into the GAC

A

Anthony Hunter

Is there anyway to automate the install of a file into the GAC on
Win2000? The gacutil.exe file is not available and I can't seem to find any
other way of doing it.



Thanks,
Anthony
 
G

Guest

Anthony, The GAC is a special folder available to windows (and I would guess
web) setup projects...Chuck
 
J

Joshua Flanagan

gacutil.exe is included with the .NET runtime. If gacutil.exe is not
available, it is highly likely that the .NET runtime is not available,
which means you do not have a GAC.
 
A

Anthony Hunter

The .Net runtime is installed and operating correctly. I can only find
the gacutil.exe on a Win2003 machine, It is not installed on Win2000 or
WinXP. And the .Net Framework Configuration tool is available and I can add
files through it with no problem.


Anthony
 
G

Guest

Hi,

Gacutil.exe can only be used during developement environement testing phase.
You can also drop a library as a simple file in the CAG explorerfolder.

The only way to install a shared assembly in the CAG for application
deployement is by using an Windwows 2.0 installer package setup project.


Regards
serge
 
G

Guest

Yes, you can install a file (only a strong-named assembly) into the GAC by
creating a setup project and add Special folder (GAC) to your File System on
Target Machine or you could simply drag-drop the strong-named assembnly into
the GAC if you are looking to add them manually.

with regards,

J.V.
 
J

Joshua Flanagan

That is very strange. It sounds like your install got corrupted.
gacutil.exe should be in your .NET Framework install folder, for example:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

You should be able to safely copy the missing file to your computer from
a different computer, or re-install the .NET Framework, in case there
are other files that have been deleted..
 
J

Joshua Flanagan

Ok, ignore me, I didn't check my facts until AFTER I posted. Apparently
gacutil.exe is not included as part of the .NET Runtime installation --
it is only available with the SDK installation.
You will have to use a setup package as others have suggested.
Sorry for the confusion.
 

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