Questions tagged [global-assembly-cache]

The global assembly cache is a .NET machine-wide code cache that stores assemblies designated to be shared by multiple applications.

More information about the global assembly cache (or GAC) can be found in the MSDN documentation: Global Assembly Cache.

There are two methods for deploying assemblies to the GAC:

  • Though an installer designed to work with GAC
  • Through the gacutil.exe utility from the Windows SDK

GAC assemblies are stored in the following directories on Windows:

  • .NET 4 and up: %windir%\Microsoft.NET\assembly
  • Prior versions of .NET: %windir%\assembly
56 questions
0
votes
1 answer

sap gateway for microsoft visual studio 2013 add-in install error

i´m currently trying to install the SAP Gateway Add-on for Microsoft Visual Studio 2013, but I´m getting the following error: Error: Cannot find Microsoft.IdentitiyModel.Clients.ActiveDirectory.dll in Global Assembly Cache I´ve followed the…
0
votes
2 answers

.NET assembly is not loaded from GAC

I am banging my head against the desk for the best part of the day and cannot for the life of me understand this. An assembly that is clearly in the Global Application Cache is not found by the web app that is trying to use it. Everything I can find…
Modus Operandi
  • 552
  • 1
  • 6
  • 24
0
votes
0 answers

Different strongnames in different branches/environments

I have one "helper" dll which is signed and placed into gac on our server, where other applications excecute and make use of this helper Component. This scenario is duplicated to multiple Environments, for example: dev, qa, production. I would like…
jonnep
  • 285
  • 3
  • 17
0
votes
1 answer

Upgrading to Json.NET 7.0.1 results in installation error

I use Json.NET in one of my projects and its working fine as it is. But i just recently wanted to update the rather outdated version 4.5.9 to the current version 7.0.1. you know... just for the sake of being up to date. I installed version 4.5.9 via…
sebingel
  • 470
  • 4
  • 17
0
votes
2 answers

How deploy dll to GAC in production

I tested the GAC in dev, I installed it with the gacutil with the Visual studio's CLI. For production, there is no Visual studio's CLI and no SDK (I think) so my question is How can I deploy the dll's to GAC without gacutil? Is it possible to make…
clement
  • 4,204
  • 10
  • 65
  • 133
0
votes
1 answer

Visual Studio uses assembly from newer target framework

I am developing against target framework .NET Framework 3.5. A project Logger uses the following library Newtonsoft.Json.dll Version = 4.5.0.0 AssemblyFileVersion = 5.0.8.16617 PublicKeyToken = 30ad4fe6b2a6aeed TargetFramework = v3.5 which is a…
0
votes
1 answer

GAC dll cannot be uninstalled

I am trying to uninstall a dll out of my GAC but I cannot do so. When I run the following command gacutil -u AssemblyName, I am getting the error message: The assembly is for atleast one application required. (translated from my original german…
Rand Random
  • 7,300
  • 10
  • 40
  • 88
0
votes
5 answers

How do I add a modified dll to the Global Assembly Cache?

I have the MySQL Connector/NET installed on my PC. I modified the source code and recompiled one of the dlls (MySQL.Data.dll). With the program already installed, how can add this dll to the Global Assembly Cache? If your answer involves using…
Ben McCormack
  • 32,086
  • 48
  • 148
  • 223
0
votes
2 answers

How can I automate the installation of assemblies to the GAC over a network?

I need to install the same assembly to the GAC for 30+ servers. I would prefer not to have to RDP to each server and install the assembly manual. Is there a straightforward way to install assemblies to the GAC over the network?
Jason Irwin
  • 1,985
  • 2
  • 29
  • 42
-1
votes
1 answer

on Vista (SP2) 64-bit :Why is my C/C++ Runtime (CRT) Assembly cache not visible to my app?

hi to all VC++ and WIndows experts! ;) Firstly, my background: Vstudio, C & C++, Windows.(so you can get techy with me, if u want). After 5days of trying all kinds of possibilities, and forums and fixes and even changing O/S platforms , I've decided…
ImmortalBuddha
  • 51
  • 1
  • 1
  • 7
-1
votes
2 answers

Cannot install Assembly to Global Assembly Cache (GAC) with gacutil

I want to install a assembly to the global assembly cache (gac) on Windows Server 2008 R2. It is not working since the last Windows Updates. For example I take the AjaxControlToolkit: First I check it with the tool sn, after that, I try to install…
Isix
  • 39
  • 2
  • 8
1 2 3
4