The Global Assembly Cache tool allows you to view and manipulate the contents of the global assembly cache and download cache.
Questions tagged [gacutil]
101 questions
3
votes
1 answer
How to register Assembly .net 4.0 in windows 7 GAC?
Hi i'm using vs2010 to create a .net 4.0 assembly that i pretend to register on the GAC.
i can't find the gacutil and don't know ho to register an assembly on the 4.0 GAC
can someone help?
SOLUTION FOUND:
Register using GacUtil located in:…

Flavio CF Oliveira
- 5,235
- 13
- 40
- 63
3
votes
1 answer
After installing Visual Studio 2019 I can't find gacutil.exe
I'm trying to install gacutil in order to remove some assemblies from the GAC. My understanding is that it's included with Visual Studio, so I installed Visual Studio Community Edition 2019. gacutil.exe does not seem to be included with the…

Chris Purves
- 399
- 4
- 16
3
votes
1 answer
Ways for Execute gacutil in remote machine
Is there a way to execute gacutil in to a particular (remote) machine given the IP address (or the workstation name) of the machine?
The machines in question are on an Active Directory Domain.
The user running the script probably won't have any…

Kiquenet
- 14,494
- 35
- 148
- 243
3
votes
3 answers
Consume a .NET Assembly from a classic ASP page
I have an old .net 2005 web site that has some asp pages and having object reference problem accessing .net dll. The maintenance task was handed down to me and the original developer is nowhere to be found :( I started at .Net already so I don't…

Emirage
- 31
- 1
- 8
3
votes
3 answers
Requires log4net version 1.2.10 be installed in GAC
With a windows smart client application, it runs fine on my (development) machine, but when I installed it on a user's machine, I get this error:
Requires log4net version 1.2.10 be installed in GAC
On my development machine, I have 2 log4net files…

Al Lelopath
- 6,448
- 13
- 82
- 139
3
votes
1 answer
Solution Converted from Visual Studio 2008 Fails Gacutil Post-Build Steps in Visual Studio 2010
I have converted a .NET 2.0 solution containing multiple projects from Visual Studio 2008 (where everything build correctly) to Visual Studio 2010. I loaded the solution in Visual Studio 2010 running in Admistrator mode and selected "Build…

JeffFerguson
- 2,952
- 19
- 28
2
votes
2 answers
.NET 4.0 GAC - Unable to Add DLL
I am using the namespace System.Windows.Forms.DataVisualization.Charting to create a Chart object on a form. This DLL is not a part of the basic Windows install, so I shall need to include it in my package when I distribute my application.
I am…

Chris Barlow
- 3,274
- 4
- 31
- 52
2
votes
3 answers
How can you do a mass unload of Assemblies from GAC by PublicKeyToken?
Is there anyway to unload all assemblies from the GAC that have a specific PublicKeyToken?
I am okay with the solution being command-line (gacutil.exe, etc) or via C#.
EDIT:
FYI, I can do this via Windows Explorer and going to the assembly folder…

Rodney S. Foley
- 10,190
- 12
- 48
- 66
2
votes
2 answers
Install dll into the gac + .net 4.0
I want to add some .net 4.0 dlls to the gac, I know that the new gac is C:\Windows\Microsoft.NET\assembly
I cannot use the gacutil because visual studio in not installed on the deployment machine, and i cannot simply drag/drop the dll to the folder…

Ghyath Serhal
- 7,466
- 6
- 44
- 60
2
votes
1 answer
Can't Register assembly in GAC for .NET4, Server 2008 R2
I have a strong-named assembly containing Model classes that can be shared among several applications (WCF Services in IIS) hosted on the same machine.
Instead of each service having their own copy of this DLL in Bin folder, I want to add it to…

Leon
- 3,311
- 23
- 20
2
votes
2 answers
Gacutil not installed by default in VisualStudio
I am unable to add an assembly into GAC. Please assist in getting it work. I ran following command in VisualStudio13 CMD
gacutil /i “\bin\netf40_32\IBM.Data.DB2.Entity.dll”
Error Message:
Command…

BASEER ULHASSAN
- 461
- 4
- 22
2
votes
2 answers
gacutil from MSBuild
in my MSBuild file (TFSBuild.proj since I am running Team Builds) the exec command=gacutil alwys fails with the following error:
Failure initializing gacutil
my build machine is a W2K3 with Team Build 2010.
any ideas.
Many thanks

Idriss
- 33
- 4
2
votes
1 answer
how to assign Strong Name to an Assembly?
I have created strong name using -
sn -k C:\strong.snk
nao how to assign this key to any assembly? and where I have to use gacutil?

nectar
- 9,525
- 36
- 78
- 100
2
votes
1 answer
Where does VS 2010 Tools' gacutil.exe install assemblies?
I used the Visual Studio 2010 Command Prompt's gacutil.exe to install an assembly. I expected the assembly to be added to C:\WINDOWS\assemblies, but it was instead added to C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL and is not showing up in…

Ben McCormack
- 32,086
- 48
- 148
- 223
2
votes
2 answers
Add an assembly to GAC without using command prompt?
Hi all,
can anyone tell me how can i add an assembly to the GAC without
using Visual Studio Command Prompt?Is there a manual way like copy
and pasting? I know that using gacutil -i AssemblyName command in
the command prompt i can do this.But i need…

Daryl
- 339
- 1
- 5
- 17