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
1
vote
1 answer

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 my app, I can see it in the task manager…
Sonhja
  • 8,230
  • 20
  • 73
  • 131
1
vote
1 answer

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 path 'C:\Program Files (x86)\Microsoft…
1
vote
1 answer

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 events from Visual Studio to execute msbuild…
Sonhja
  • 8,230
  • 20
  • 73
  • 131
1
vote
1 answer

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 library, AE.Net.Mail. When I deploy this webpart, I…
nknj
  • 2,436
  • 5
  • 31
  • 45
1
vote
1 answer

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 doesn't need the files anymore. I also know if…
Saman Gholami
  • 3,416
  • 7
  • 30
  • 71
1
vote
1 answer

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 is it still appropriate to use GACUtil in your…
Eoin Campbell
  • 43,500
  • 17
  • 101
  • 157
0
votes
1 answer

GacUtil + .net framework 4.0

I added an assembly to the GAC using the Visual Studio 2010 command prompt. gacutil /i xxx It shows a message: Assembly successfully added to the cache. But it's not visible in C:\WINDOWS\assembly and I read that the .NET Framework GAC has been…
Anand
  • 717
  • 6
  • 20
0
votes
1 answer

Including in a Visual Studio 2005 project a DLL built with Visual Studio 2010

I have a dll library built in Visual Studio 2010, but I need to include it in a VS 2005 project. If I do it, I get the error message This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. I googled the…
0
votes
2 answers

Running in VS2019 Admin Cmd window -- gacutil.exe error: "Failure adding assembly to the cache. The system cannot find the file specified."

Running in VS2019 Admin Cmd window -- gacutil.exe error: "Failure adding assembly to the cache. The system cannot find the file specified." GAC util path: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\gacutil.exe Command…
Jim
  • 1
  • 2
0
votes
0 answers

Trying to install spicetify and continue to get this error

I am not sure how to fix it and I am using powershell 7 because the one bundled in with windows won't work.
0
votes
2 answers

How do I reference a custom .NET 4.0 DLL in script task?

I would appreciate any help in referencing a DLL from my SSIS script task. I created the DLL in Visual Studio 2010 and the SSIS package in Business Inteligence Development Studio 2008. I am running on WinXP. The DLL compiles successfully and can be…
victor
  • 11
  • 1
  • 2
0
votes
0 answers

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 errors due to spaces in the links. I tried running…
PCG
  • 2,049
  • 5
  • 24
  • 42
0
votes
1 answer

about usercontrol usage

I have created one usercontrol in vb.net 2005. and i have developed that usercontrol for my project & now i 'm using the source safe for sharing my project in my team. now when i'm using my userconteol then that time the dll of the usercontrol is…
priyanka
  • 543
  • 4
  • 10
  • 18
0
votes
2 answers

Assembly not listed in VS10 Object browser

I have a VB.Net project which needs to use a third party DLL for which there also an interop assembly. So I have something like this: Hummingbird.DM.Server.Interop.PCDClient.dll PCDClient.dll I tried adding the reference to the interop directly in…
udeleng
  • 157
  • 5
0
votes
2 answers

Add Reference in Framework 4 Application is not showing assemblies in GAC registered with GACUtil V 4

I've registered a dll in my local GAC using the GACUtil which comes with VS2010 (version 4ish) I can perform gacutil /l xxx and it finds the dll I am aware from various other posts that Framework 4 has it's own GAC and sure enough the file can be…
Luke Duddridge
  • 4,285
  • 35
  • 50