Questions tagged [gacutil]

The Global Assembly Cache tool allows you to view and manipulate the contents of the global assembly cache and download cache.

101 questions
130
votes
5 answers

where is gacutil.exe?

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…
George2
  • 44,761
  • 110
  • 317
  • 455
79
votes
4 answers

Where is GACUTIL for .net Framework 4.0 in windows 7?

i've made an assembly in the .net framework that I intend to publish to the GAC but I can't find the gacutil utlity. I've been googling a while and I've found a lot of suggestions, but nothing works: Copy the assemby to %window%\assemby [DOES NOT…
Flavio CF Oliveira
  • 5,235
  • 13
  • 40
  • 63
70
votes
3 answers

Gacutil.exe successfully adds assembly, but assembly not viewable in explorer. Why?

I'm running GacUtil.exe from within Visual Studio Command Prompt 2010 to register a dll (CatalogPromotion.dll) to the GAC. After running the utility, it says Assembly Successfully added to the cache, and running gacutil /l CatalogPromotionDll shows…
Ben McCormack
  • 32,086
  • 48
  • 148
  • 223
38
votes
2 answers

GAC 32bit vs. 64bit

I've been searching for a while trying to understand this better, but am not finding any straight-forward answers on this. I have a component that I need to add to the GAC. I'm running Windows 7 64-bit, and in an effort to troubleshoot an issue…
Jerad Rose
  • 15,235
  • 18
  • 82
  • 153
30
votes
4 answers

Can I download and install gacutil.exe without having to install VS or the SDK?

I want an administrator to register some DLLs for me, but he would probably prefer not to install the whole SDK. Can he just install gacutil.exe? If so, where can he get it? Do I just email the gacutil.exe file to him, and where does he have to put…
richard
  • 12,263
  • 23
  • 95
  • 151
29
votes
5 answers

Assembly installed into the GAC not showing up in Visual Studio

This sounds related to this question, but they aren't the same thing. That question had no assemblies showing up. Mine has everything except the specific one I installed. I'm hoping someone has a solution to this... am I doing something wrong? Or…
user47589
26
votes
3 answers

Unable to uninstall an Assembly from GAC?

I am unable to uninstall an Assembly (log4net.dll) from GAC. It is giving following error. "Assembly is required by one or more applications". However if I search the Assembly using ProcessExplorer nothing comes up? How can I remove this Assembly…
Amitabh
  • 59,111
  • 42
  • 110
  • 159
21
votes
4 answers

Register Multiple Assemblies to the GAC in Vista

I've got a whole directory of dll's I need to register to the GAC. I'd like to avoid registering each file explicitly- but it appears that gacutil has no "register directory" option. Anyone have a fast/simple solution?
Evan
  • 2,113
  • 1
  • 20
  • 24
16
votes
4 answers

I can install via gacutil, but not uninstall the same dll

I have installed a DLL using the gacutil. gacutil.exe /i SI.ArchiveService.CommonLogic.Exceptions.dll Using the gacutil /l shows that it is indeed installed. SI.ArchiveService.CommonLogic.Exceptions, Version=1.0.0.0, Culture=neutral,…
Kasper Hansen
  • 6,307
  • 21
  • 70
  • 106
15
votes
1 answer

Trouble registering ChilkatDotNet4.dll to the GAC

I'm trying to add a .NET 4.0 .dll to the GAC. I am attempting to do this because it is published by a 3rd party company as both a 32 and 64bit .dll which I must use from different apps on different platforms in both formats. At any rate, I am…
fordareh
  • 2,923
  • 2
  • 26
  • 39
15
votes
1 answer

My gacutil (vs2010 4.0) does not seem to be working

I recently started making my first GAC Assembly for 4.0 from scratch and when I went to install it I got this: Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.30729.1 Copyright (c) Microsoft Corporation. All rights reserved. Failure…
cavillac
  • 1,311
  • 12
  • 22
14
votes
5 answers

Where is gacutil.exe in Windows 10?

I've got Windows 10 Pro 64 bit, Microsoft Visual Studio 2015 and the full Windows 10 SDK package but I'm not able to find gacutil.exe in: Microsoft Visual Studio 2015 subdirectories Windows 10 SDK subdirectories C:\Windows\Microsoft.NET…
Melody
  • 471
  • 1
  • 3
  • 9
13
votes
7 answers

Using Powershell to Register a file in the Gac

Is there a simple way to in PowerShell (I imagine using gacutil.exe) to read from a text document a path\assembly and register it in the GAC? So for example a .txt file that looks like: c:\test\myfile.dll c:\myfile2.dll d:\gac\gacthisfile.dll The…
James Turns
13
votes
3 answers

Why is my assembly not visible in "Add Reference > .Net" when installed to the GAC?

Just have a quick question about the GAC I created an assembly Awesome.DLL. Had it signed, then installed into the GAC: C:\MyApps\Awesome\Awesome\Awesome\bin\Release>sn -k Awesome.snk Microsoft (R) .NET Framework Strong Name Utility Version…
John
  • 177
  • 1
  • 2
  • 9
11
votes
3 answers

What gacutil.exe should I use?

So, on a Win 2008 R2 Std x64, I have 6 (six) gacutil.exe all different (not counting ones in VS folders), in: c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64 c:\Program Files (x86)\Microsoft…
Petr Abdulin
  • 33,883
  • 9
  • 62
  • 96
1
2 3 4 5 6 7