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

Previous version of assembly loaded even when "Specific version" is true

I'm developing a plugin to a application. My plugin uses WPF Toolkit 1.6.0.0. The WPF Toolkit assembly is strongly named and I have ensured that I all references to the assembly is Specific version is true. The host application uses a previous…
larsmoa
  • 12,604
  • 8
  • 62
  • 85
0
votes
1 answer

Windows Program > The Zone of the assembly that failed was: MyComputer

I'm written a Windows Form Application based on .NET Framework 3.5 SP1 and it's running on windows server 2003 edition. I tried to add another user to use this program and got the following error The Zone of the assembly that failed was:…
puthisorn
  • 13
  • 1
  • 1
  • 2
0
votes
1 answer

Moving dll from Bin to GAC

What are the issues when we move a dll from BIN folder to GAC?. Is there any modifications required in my config? If application is still running then will it continue using the old dll if no issreset? can I have dll in both places? in Bin & GAC.…
AProgrammer
  • 158
  • 3
  • 13
0
votes
1 answer

Installing assemblies to GAC with Windows Installer

I am creating a Windwos Installer project just for the use of installing our third party assemblies into the gac of the users computer. The problem i am running into, is when i make an update to the assemblie and increment it's version number, i…
Andy Xufuris
  • 698
  • 3
  • 9
  • 31
0
votes
2 answers

Visual Web Part with referenced DLL not checking GAC

I have a SharePoint project with a visual web part (WebPartA inherits from OtherWebPartC) - the web part references two DLL's, (ClassLibraryB and OtherWebPartC), and they are included in the package, set to be deployed to GAC. When I deploy the…
Warren J Thompson
  • 408
  • 1
  • 7
  • 19
0
votes
1 answer

Is there a way to resolve assemblies outside of .NET code?

I have an installer that needs to verify the presence of certain assemblies in the GAC. These are 3rd party DLLs out of my control. Because it's in an installer, I'd rather not have this "checker" be written in .NET as I'm trying to avoid managed…
jglouie
  • 12,523
  • 6
  • 48
  • 65
0
votes
2 answers

.Net - Does a managed executable obtain a snapshot of GAC at start up?

I somehow ran into the issue when I was working on an application that installs an assembly to GAC on demand (on click of a button), and tries to Assembly.Load it at the click of a next button or tries to invoke a method from that newly GAC-ed…
gmaran23
  • 2,118
  • 2
  • 17
  • 18
0
votes
1 answer

If a com wrapper around a .net DLL uses one more dependent .net DLLs, should they be placed in GAC?

If a managed DLL uses one or more managed DLLs, and a com wrapper is built around the managed DLL, then should all the dependent managed DLLs be placed in GAC. I am getting an "unable to find assembly..." in a similar scenario. Thanks in advance.
TrustyCoder
  • 4,749
  • 10
  • 66
  • 119
0
votes
1 answer

GAC behaviour in C# WebSite with VBclass library

I have this weird problem, this is the set up. I have a class library written in VB. The dll is signed and deployed to the GAC. The dll is a wrapper around the Session object, to store the current user in. The session is store in db, not in…
stvn
  • 1,148
  • 1
  • 8
  • 24
0
votes
1 answer

how to reference dll in GAC in a remote machine in 3 tier structure

I have a 3 tier structure in my office and my dll (in GAC) in business tier is already installed in my business component server . Method 1: Remote GAC I'm trying to build a light-weight application and the application will reference the dll in…
Hami
  • 335
  • 1
  • 7
  • 22
0
votes
0 answers

Getting names of GAC Assemblies

Possible Duplicate: List all DLL's implementing a specific interface from the GAC Is there a way to programmatically retrieve the Fully Qualified Names of all the .DLL's registered in the GAC? Basically, I would like to emulate the functionality…
Icemanind
  • 47,519
  • 50
  • 171
  • 296
0
votes
2 answers

ASP.NET value changing on method call

This is driving me nuts! I have an asp.net application on my server. It references two dll-files which are placed in my GAC on the server. I have also placed pdb-files in the GAC-folders so I can debug remotely. Here is my problem: When I call the…
olf
  • 860
  • 11
  • 23
0
votes
1 answer

Make Sharepoint use new version of GAC assembly after update without IISReset

We use a few asp.net UserControl libraries in some of our SharePoint sites. Sometimes we make changes to the UserControls' assembly or sometimes some of the assemblies it depends on can change (such as a logging assembly). We have these assemblies…
xr280xr
  • 12,621
  • 7
  • 81
  • 125
0
votes
1 answer

GACUtil: Installing Assembly

I added two assemblies using GACUtil. Both were added successfully however one shows up under C:\Windows\Assembly and the other under C:\Windows\Microsoft\Assembly\GAC_MSIL". Why would it happen this way when i had used the same command for both…
0
votes
1 answer

How to specify full .net type name in oracle coherence POF configuration?

I'm using oracle coherence in my C# project. .Net project has references to Coherence and it sets some Coherence properties by 'injecting' my types. One of the examples if POF configuration: 1008
Karpik
  • 322
  • 1
  • 5
  • 14