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

Does having unused assemblies in GAC affect performance?

In this answer there's a rather interesting claim: that having extra unused .NET assemblies in the GAC degrades perfmormance. Specifically it is about the following case: there's assembly X.Y.Z in the machine GAC and no program on that machine makes…
sharptooth
  • 167,383
  • 100
  • 513
  • 979
0
votes
1 answer

Does restoring a backup of IIS6 restore the GAC?

I was wondering: if I have some DLLs in the GAC - will they get restored if I restore a backup of IIS6 on a fresh Windows 2003 box? Or will I need to backup/rebuild the GAC separately from IIS?
joshcomley
  • 28,099
  • 24
  • 107
  • 147
0
votes
1 answer

New COM component in old codebase does not expose new properties

I'm answering this myself because I found no answers anywhere and this is my favorite online programming reference. Hope it helps someone else. I maintain a WinForms application that uses a third party COM component. We recently upgraded to a new…
A. Wilson
  • 688
  • 1
  • 6
  • 15
0
votes
2 answers

Register dll to gac as another user

I have an application that requeres to register a dll into a gac on a client computer everytime a new dll is deployed the problem is that the client computers only have restricted users with UAC turned on. The application knows the credentials of a…
Jester
  • 3,069
  • 5
  • 30
  • 44
0
votes
2 answers

Deleted some GAC .dll files and problems with SQL

I was having some problems with SQL Server Express 2008 as for some reason I had several conflicting versions. I was told to go through and uninstall them, but I ended up installing all programs relating to SQL. Now, a previously functioning…
user1287523
  • 967
  • 3
  • 14
  • 31
0
votes
1 answer

error: 1615 on entering records to MsiAssembly and MsiAssemblyName tables in msi database

I am facing problem: while adding entries to MsiAssembly and MsiAssemblyName Table of msi database using MsiOpenDatabaseView() method it is justing failing with the error code - 1615. This is the case with only these two tables. At First I thought…
dev
  • 191
  • 1
  • 4
  • 14
0
votes
1 answer

Specifying Exact Reference Versions in app.manifest

Whilst implementing the use of ODP.Net in our apps I came across a potential problem with versions so I knocked up a quick test app to see if it would affect us, and it did. We have clients who have or want our apps on Oracle, but they use…
Steve Pettifer
  • 1,975
  • 1
  • 19
  • 34
0
votes
1 answer

same componentGUID for two different entries in the Component Table of msi database

I am working with the packaging of certain assemblies into an msi package. while doing this I have an requirement that I need to put the some assemblies into the local file system as well as in the GAC of the target machine. As we know the…
dev
  • 191
  • 1
  • 4
  • 14
0
votes
1 answer

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 assembly you added to the GAC, right click and view…
Amicable
  • 3,115
  • 3
  • 49
  • 77
0
votes
3 answers

Can't find an assembly in the GAC which application is using

I need to update an assembly that my application is using. It is a website application referencing the assembly in the GAC via this line in the web.config
Hoody
  • 3,361
  • 9
  • 45
  • 55
0
votes
2 answers

Deploy distinct versions of common assembly via various SharePoint packages?

I have Common.dll that's shared/used by (far more than) two SharePoint packages being deployed to the same GAC used by a single SharePoint instance. The shared assembly evolves from product deployment to product deployment, and it's not treated as a…
lance
  • 16,092
  • 19
  • 77
  • 136
0
votes
2 answers

GAC deployed Claims membership provider assembly not found

I am creating a custom membership provider for a SharePoint Foundation deployment. I have built and deployed to the Global Assembly Cache, but get an error when the logon page tries to load. I am not certain why a signed GAC-deployed assembly can…
0
votes
4 answers

VS2008 Prefers GAC reference to Assemblies in Solution Folder

I am using some 3rd party libraries in my solution and have saved these in a separate source-controlled folder called 3rdParty. I have added references to the DLLs in this folder from the VS2008 IDE. However, I find that after saving, closing and…
Agnel Kurian
  • 57,975
  • 43
  • 146
  • 217
-1
votes
1 answer

asp.net mvc3 - how to set Devpath?

http://msdn.microsoft.com/library/cskzh7h6.aspx gives information about turning on devpath, but how to you set this variable? Unfortunately it's not very clear on how you can set it. Is it set for all referenced dlls once set? Or can you set per…
River
  • 1,487
  • 3
  • 15
  • 25
-1
votes
1 answer

.NET: What needs to be done to let the GAC recognize an assembly as 'new' and accept a new 'strong name'

I have a not yet released assembly where the netAssemblyKeyfile.pfx got lost and I want to develop on a computer where the GAC already was conditioned to only use the strong name of the old keyfile. How can I modify the existing project file or…
thomiel
  • 2,467
  • 22
  • 37