Questions tagged [gacutil]
The Global Assembly Cache tool allows you to view and manipulate the contents of the global assembly cache and download cache.
102
questions
0
votes
0answers
13 views
Managed Oracle.DataAccess.dll for .NET 3.5
I have a project with .NET 3.5 version (I can not upgrade to higher version, because it's part of companys core projects). When this project tries to load assembly Oracle.DataAccess.dll it throws ...
1
vote
1answer
35 views
Using GACUTIL in Post-build event in Visual Studio on Windows 10
I have a Visual Studio 2012 project that creates an SSIS custom task. In the Post-build event, I have this:-
cd $(ProjectDir)
@SET TASKDIR="C:\Program Files (x86)\Microsoft SQL Server\110\DTS\...
0
votes
0answers
22 views
How can I keep Visual Studio from using an old DLL version in the GAC as a reference in my program?
I have a program built using Visual Studio 2012 that references log4net.dll. The latest version of that program that I have is 2.0.8.0. Somehow, version 1.2.10.0 ended up in my global assembly cache....
0
votes
0answers
19 views
How to register IKVM assemblies with gacutil v4.5 at new location?
I am working on an upgrade project(Sql2008 to Sql 2016) which also involves updating .net framework from v3.5 to latest(v4.7).
Within this project, we register few assemblies using gacutil.
I am ...
0
votes
1answer
572 views
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....
0
votes
1answer
183 views
How to choose which gacutil.exe path to set in my environment variables?
I moved a project from .NET 3.5 to .NET 4.6.1. Now when I try to build (with the following as my post-build event command) I get the this error:
gacutil -if "$(TargetPath)"
The command "gacutil ...
1
vote
1answer
32 views
My DLL in listed in GAC does not appear in VS when trying to reference it
Ive copied my DLL to the GAC and ive verified it is in the GAC by listing all assemblies with
gacutil -l
Still i cant reference to it in Visual Studio since it wont be listed. Is there some kind of ...
0
votes
0answers
166 views
How to use gacutil in ASPnet?
I found that I do not have System.net.http.dll in GAC folder in windows. Not sure how I lost it. So I tried installing it using gacutil.exe in ASP.net folder following the instructions.
But I get ...
1
vote
1answer
1k views
GAC appears to be broken on freshly installed Windows 10
After repeatedly getting 2147024891 errors while trying to install some 3rd party controls, investigation shows that it is unable to install some DLL's into the GAC. I tried to find out why, and here ...
1
vote
3answers
69 views
Pause the GACUTIL.exe listing
On my Windows System, I have over 3000 registered libraries in my GAC. When I use gacutil /l the list is too large to fit in my command output window. I need to be able to browse through to see if my ...
1
vote
1answer
214 views
Trouble getting a .NET Publisher Policy Assembly to work
I created fresh projects for this as a proof of concept but I cannot get it to work.
I created a ClassLibrary1.dll with a simple method in it, at version 1.0.0.0.
I created a WindowsFormsApplication1 ...
0
votes
1answer
245 views
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 (...
14
votes
4answers
30k views
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 ...
2
votes
2answers
4k views
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 “<C:\Program Files\ibm\IBM DATA SERVER DRIVER>\bin\netf40_32\...
0
votes
1answer
895 views
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)
0
votes
0answers
81 views
Way to create a little gacutil.exe installation? [duplicate]
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 ...
0
votes
1answer
463 views
Visual Studio 2013 stopped working after removing dlls from GAC
After removing some dlls from the GAC using gacutil -u <dll> in the Visual Studio 2013 command line, my Visual Studio 2013 has stopped working.
When I open it, it crashes with the following ...
0
votes
1answer
580 views
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 ...
1
vote
1answer
2k views
Adding a .dll from GAC to SSIS script component doesn't work
I am trying to reference a custom class library (C#) in a script component of my SSIS package. The library has a strong name. I deployed the .dll to GAC via gacutil. I am administrator and I really ...
0
votes
1answer
382 views
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)"
...
0
votes
1answer
1k views
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, ...
0
votes
1answer
956 views
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 ...
0
votes
0answers
148 views
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 ...
2
votes
2answers
2k views
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 ...
3
votes
3answers
21k views
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
...
1
vote
1answer
2k views
Installing Windows SDK .net 4.5 in a Windows 2008 server
I was trying to install Windows SDK which supports .NET 4.5 in a Windows 2008 server. But I couldn't find any link for the same. All I could find was this:
Windows SDK for Windows Server 2008 and ....
0
votes
2answers
5k views
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 ...
0
votes
1answer
541 views
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 ....
5
votes
3answers
23k views
Using gacutil to install a .dll
I am trying to install a .dll refrence to use it in my code, but i am having issues using the gacutil. Would anyone be able to help me with the format of this?
I have tried using http://msdn....
0
votes
1answer
1k views
Install a .NET assembly without gacutil
I want to install my custom visual studio 2012 wizard with my NSIS installer but I don't know how to register the assembly. It needs gacutil.exe but this is not shipped along vs2012 as far as I know.. ...
1
vote
1answer
1k views
C# assembly - get path where it was before being registered with gacutil
Is there any way to get the path of an assembly registered with gacutil /i myassembly.dll ?
I mean the path where the .dll file was at the moment it was registered with this command. All that I get ...
1
vote
1answer
1k views
GAC Assembly redirection for several .dlls
I'm trying to redirect a specific .dll, let's call it MyAssembly.dll. This assembly has two versions:
MyAssembly.dll version 1.0.0.0
and
MyAssembly.dll version 1.1.0.0
I want these two assemblies ...
0
votes
1answer
1k views
Can't register assembly in .Net GAC
I'm facing a problem with registering assembly to GAC. I'm using Win8 x64. I need to register it in .Net GAC. It means that assembly should appear here c:\Windows\Microsoft.Net\assembly\GAC_MSIL. In ...
1
vote
1answer
2k views
Using GAC assemblies needs permissions
I just installed two libraries on GAC and I'm trying to use them in a simple application where I only call the constructor of my method:
MyMethod m = new MyMethod();
When I try to run the .exe of ...
1
vote
1answer
1k views
Can’t uninstall infragistics. Can’t find gacutil
Am trying to uninstall infragistics, but i get an error at the end of the uninstall saying 'Windows cannot find gacutil. Make sure you typed the name correctly and then try again'. I navigate to this ...
1
vote
1answer
745 views
Force Visual Studio 2010 to use gacutil.exe from older versions (Post Build event)
I'm developing a simple installer using WiX on which I'm trying to install a .dll and a publisher policy on GAC.
I successfully add the .dll on GAC using the installer. But I want to use PostBuild ...
0
votes
0answers
143 views
Installing a (sort-of) weakly-named .dll to the GAC
I need to migrate some programs from one server to another. In the process, I found that we were missing a .dll - I tracked it down on the original server. It was both on the file system (in what ...
0
votes
1answer
441 views
My policy redirection on GAC is not working
I created a basic project in WinForms on which I have a .exe that loads a really simple library:
The .exe:
public Form1()
{
InitializeComponent();
int a;
int b;
...
1
vote
1answer
1k views
Cannot load library into assembly (GAC)
I am using visual studio 2010 on windows server 2010 with Sharepoint 2010 server. I am deploying webparts to a Sharepoint instance running on the same server.
My new webpart makes use of a custom ...
0
votes
3answers
661 views
How to get TargetPath programmatically + GacUtil registering
What do i need? I wrote some BizTalk Functoid and BizTalk Pipeline Components. But before you can use them in a mapping (Functoid) or in a pipeline (Pipeline Components) you need to copy it to a ...
0
votes
1answer
260 views
Code Analysis Using VS2012 - Missing Dll References / GAC
I'm trying to run code analysis on my project and I'm plagued by lots of DLL resolve issues.
I've already Added a few dlls to the GAC using gacutil and solved a few issues that way, however I'm ...
1
vote
1answer
620 views
Register custom C# assemblies in the GAC
I wrote some codes with C# and make dll files.
When i put my Application on another system my application needs dll files beside the .exe file.
I know that some dll files copy to GAC and the exe file ...
0
votes
0answers
252 views
Permission Denied for gacutil in linux
I have the Mono gacutil on a Linux machine, CentOS 5.5, apache 2.2. I'm running as the root user. I keep getting
/usr/local/bin/gacutil: line 2: /usr/local/bin/mono: Permission denied
This is with ...
0
votes
2answers
385 views
sudo gacutil permissions
I am trying to use gacutil on my mac. When I do I get the error:
gac directories could not be created, possibly permission issues.
So how do I get the permission, considering this is my computer?! ...
3
votes
1answer
995 views
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 ...
2
votes
1answer
4k views
check if assembly is present in GAC in batch file
How do we check if an assembly is present in GAC in a windows batch file?
I am trying:
C:\>gacutil /l ExistentAssembly
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1
...
1
vote
1answer
213 views
Is using GACUtil in your coding/svn/development workflow considered Bad Practice?
There's plenty of information/blogs/msdn articles around on NOT using GACUtil in your Deployment/Release scenarios and that MSI or another windows installer technology is a far better option.
However ...
0
votes
1answer
1k views
Npgsql design time support in Visual Studio 2008
How to enable Npgsql design time support in Visual Studio 2008? I did exactly what manual says:
1) I have Npgsql.dll installed in c:\Program Files (x86)\PostgreSQL\Npgsql\ms.net3.5sp1\
2) cd into that ...
0
votes
2answers
3k views
Drag and Drop DLL to assembly folder
I dont have gacutil on the computer I have to install this assembly so can it be done instead of using gacutil?
If yes, whats the difference?
Its a .net 2.0 assembly
0
votes
1answer
3k views
How to get PublicKeyToken from GAC
I have been following this guide, which goes over adding a file to GAC with gacutil.
I have completed this step but I can't seem to read the Keytoken from the file.
It says to navigate to the ...