Questions tagged [gac]

The gac tag is for issues relating to the global assembly cache.

The Global Assembly Cache or GAC is a machine-wide .NET assemblies cache for Microsoft's CLR platform. The approach of having a specially controlled central repository addresses the shared library concept and helps to avoid pitfalls of other solutions that lead to drawbacks like DLL hell.

1053 questions
0
votes
2 answers

How do you remove System.Data.OracleClient?

I accidently installed System.Data.OracleClient 64-bit (ODAC) and used the Oracle Uninstaller to remove the client, then proceeded to install the 32-bit ODAC. Unfortunately, I can't seem to get rid of the 64-bit System.Data.OracleClient from the…
tacos_tacos_tacos
  • 10,277
  • 11
  • 73
  • 126
0
votes
0 answers

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 seems to be a storage directory, not linked to…
NWard
  • 2,016
  • 2
  • 20
  • 24
0
votes
1 answer

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; a = 7; b = 3; …
Sonhja
  • 8,230
  • 20
  • 73
  • 131
0
votes
1 answer

Window Service Cannot load Oracle.DataAccess.dll

I have a Window service which uses "Oracle.DataAccess.dll" (file version 2.112.0) to connect to the Oracle DB. When I deployed this service on to the server, I get the following error "Could not load file/assembly Oracle.DataAccess…
KKR
  • 79
  • 8
0
votes
1 answer

Invalid Reference Version When Visual Studio 2012 Starts

I recently added a unit test project to my existing .net website project. I wrote some unit tests and everything was working fine. We added in a third party testing suit to our development process, and we were given a reference dll to include in…
djm61
  • 464
  • 1
  • 8
  • 23
0
votes
1 answer

WCF Client DLL Internet Delivery Problem

We are creating a WCF service with a companion client DLL (.Net) that we will be delivering to a user's GAC via a web page. The DLL knows how to communicate with and how to interface with the service, and will allow the web page to communicate with…
William Daniel
  • 679
  • 6
  • 14
0
votes
2 answers

C# Project, GAC, DLL

i'm having a problem with my built Application. I have a project taken from here modified it and implemented in my program. Shortly, this TableProc project generates a report to OpenOffice Calc and uses some libraries from OpenOffice - cli_basetypes…
Developer
  • 4,158
  • 5
  • 34
  • 66
0
votes
1 answer

CLR Binds to the Correct Assembly with bindingRedirect, But How?

A little background: we have an app that uses 3 core DLLs that are referenced by different pieces of the application. These three DLLs are in the GAC. In our test environment we have 3 test websites (same website, different versions) that all use…
dst3p
  • 1,008
  • 11
  • 25
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
1 answer

Installing .NET 4.0 assemblies to GAC in XP and Windows 7 PCs

I needs to install .NET 4.0 assembly to GAC duing the MSI installation, target OS can be either XP and Windows7. I see there is a different is registering dlls to GAC in XP and windows7. Could someone explain what should i consider during GAC…
Kurubaran
  • 8,696
  • 5
  • 43
  • 65
0
votes
3 answers

Weird problem with Visual Studio 2008 website reference

I'm trying to add a reference to the GAC version of System.Xml in a Visual Studio 2008 web site project. I right-click the project icon in the Solution Explorer, and click Property Pages. Under the References tree option, I click the 'Add' button…
Jez
  • 27,951
  • 32
  • 136
  • 233
0
votes
3 answers

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 specific folder. Copy it to the folder is not a…
Sven
  • 885
  • 5
  • 11
  • 31
0
votes
1 answer

How do I resolve version error between SSIS dtsx file and GAC?

I have a DLL that I am referencing in an SSIS package. I strong named it and added to the GAC. Everything worked fine on my development machine. Now I am trying to deploy the package. So on the server, I added the DLL to the GAC using a windows…
nleidwinger18
  • 169
  • 1
  • 2
  • 12
0
votes
0 answers

Solver Foundation and the .NET GAC

I have made an app using the microsoft solver foundation, and its great. But my problem is that my client haven't installed the microsoft solver foundation, so when the run the program they got this error: Could not load file or assembly…
0
votes
1 answer

InterProcess Communication Factory (Design Advice)

I have a solution which contains many separate EXEs that need to be able to send messages back and forth to one another. Right now each EXE has to know about each other up front and they use IPC to communicate but I really want a more elegant…
Neal Bailey
  • 183
  • 10