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
0
votes
1 answer

Entity Framework IndexAttribute error when Using MySql with ASP.Net MVC

I want my mvc application to connect to MySQL database and I have done the following steps since morning but am missing something. Installed MySQL Connector for .Net (Connector ODBC 5.3) Installed (MySQL for Visual Studio 1.2.6) Followed the…
Samra
  • 1,815
  • 4
  • 35
  • 71
0
votes
1 answer

Wix - install as non-admin and add to GAC

I am writing an installer using WIX, and I need to add a .dll file to the GAC. I use: This works perfectly fine for the Administrator user,…
Maxim
  • 15
  • 6
0
votes
1 answer

Location of GACUTIL in Windows server 2008 production box

I have a production box (Windows Server 2008) where no visual studio is installed. Can I use GACUTIL there...If so where can i find the gacutil exe in that machine
Vinay Kumar Chella
  • 1,719
  • 6
  • 23
  • 35
0
votes
1 answer

Unregister assemblies from GAC using wildcards

I have a large number of assemblies to un-register from the GAC, I'd rather not have to go through them one at a time. Is it possible to use wildcards in the gacutil? (or, a batch\Powershell script)
BanksySan
  • 27,362
  • 33
  • 117
  • 216
0
votes
0 answers

Way to create a little gacutil.exe installation?

I would like to create or download a little installation package for the GacUtil.exe. I know that gacutil is a part of the .Net SDK, but i would like to be able to create a redistributable install of the gacutil.exe. Anyone already do this ? I need…
Walter Fabio Simoni
  • 5,671
  • 15
  • 55
  • 80
0
votes
1 answer

Visual Studio 2013 stopped working after removing dlls from GAC

After removing some dlls from the GAC using gacutil -u in the Visual Studio 2013 command line, my Visual Studio 2013 has stopped working. When I open it, it crashes with the following error in event viewer: Faulting application name:…
MadCatPT
  • 1
  • 1
  • 2
0
votes
1 answer

ASP.NET Website is not longer working after the latest Windows Updates

Our ASP.NET website uses some external assemblies like AjaxControlToolkit.dll, AjaxMin.dll, DocumentFormat.OpenXml.dll and some more. They are registered in the References-Node. All worked fine, but after the latest windows Update, I got the…
Isix
  • 39
  • 2
  • 8
0
votes
1 answer

gacutil fails to deploy to gac

I have a .net 4 c# library that I would like to publish to the .net 4 GAC as a post build event. I have added "$(SolutionDir)BTS.GO.Core.Deployment\ExternalAssemblies\gacutil.exe /i "$(TargetPath)" Problem is, gacutil is run, no error is reported…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
1 answer

How does Windows Update install .NET assemblies in the GAC?

Consider the following command gacutil /i Microsoft.Powershell.ConsoleHost.dll This will install the assembly to C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.PowerShell.ConsoleHost Now, consider a different computer without gacutil. You…
Zombo
  • 1
  • 62
  • 391
  • 407
0
votes
1 answer

gacutil - cannot launch on vista x64

I thought this was a privilege issue but I logged on as admin and still couldn't get more than a brief flash of the command window. I am just double clicking on the exe file I found in the 7.0 sdk As a side question, can you just go into the GAC…
Berryl
  • 12,471
  • 22
  • 98
  • 182
0
votes
1 answer

Post-build Error when using gacutil and installutil to deploy powershell snapin

I am trying to learn about writing snapin for powershell 4.0 using VS 2013. The script is very simple and compiled with no error. However, when I added gacutil and installutil to deploy the snapin using post-built, I got this error: Error 1 The…
0
votes
0 answers

OLE Registration success, but not able to instantiate GUID?

I have compiled a dll let say "foo.dll" with VS2010 Premium, at the Developer level the dll works perfectly with Navision 2009 R2 (it connects with a third party dll which connects to the com port to read data). at the production level, the…
M. A.
  • 424
  • 6
  • 21
0
votes
1 answer

visual studio post-build script error calling gacutil

I'm on vista, with VS2005 running as admin. Both vs2005 and vs2008 are installed. If I explicitly use the path to gacutil, it works, but not if I only call gacutil like this: if NOT $(ConfigurationName) == Release gacutil /f /i "$(TargetPath)" …
user30920
0
votes
2 answers

How to make my DLL global without gacutil?

I want to be able to use my DLL global so my exe will work even if the DLL is not in the same directory where the EXE is. So I read a lot about Global Assembly Cache And it says that I have to use gacutil.exe to register the DLL. There are few…
MilMike
  • 12,571
  • 15
  • 65
  • 82
0
votes
1 answer

Alternatives to GACUtil

I am working on a C# .NET Class Library project. This project is referenced by a lot other applications and requires frequent maintenance. Every time there are changes, we may need to deploy the .dll manually to 10+ other application locations,…