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

SharePoint 2010: Setting up a local dev environment from production data - Could not load file or assembly due to invalid PublicKeyToken

I have tried multiple ways to get the production SharePoint content to my newly installed local development environment that is running on a VM Windows Server 2008 R2. After an export of the farm and a restore failed I came across this blog post…
Jeff Treuting
  • 13,910
  • 8
  • 36
  • 47
0
votes
1 answer

How to get references back to what they were

I installed a couple of NuGet packages to test them out http://nuget.org/packages/Microsoft.AspNet.WebApi.HelpPage http://nuget.org/packages/SDammann.WebApi.Versioning Now everytime I run any of my asp.net razor projects I get a 500 - Internal…
aggaton
  • 3,066
  • 2
  • 25
  • 36
0
votes
1 answer

Code Analysis Using VS2012 - Missing Dll References / GAC

I'm trying to run code analysis on my project and I'm plagued by lots of DLL resolve issues. I've already Added a few dlls to the GAC using gacutil and solved a few issues that way, however I'm seeing an error regarding a reference to…
Jammer
  • 9,969
  • 11
  • 68
  • 115
0
votes
1 answer

Compiler Error message because type exists in two versions of DLL in GAC

I get this error message: Compiler Error Message: CS0433: The type 'EPiServer.Web.WebControls.LogGenerator' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\EPiServer\5.2.375.236__8fe83dea738b45b7\EPiServer.dll' and…
Anders Branderud
  • 1,878
  • 6
  • 29
  • 45
0
votes
1 answer

App-pool dll and GAC

We have about 80 apps that would be on the same server. Are all very small sites that use the same custom built app, aspnet webform, c#, compiled. Each app has a copy of the app dll in its own bin dir, plus some open source third party libraries…
manudea
  • 371
  • 2
  • 15
0
votes
1 answer

DLL's in a ASP.NET Application and SourceSafe/Sharing between computers

I have an application that uses currently two DLL's for external libraries (AjaxControlToolkit is one of them) I was wondering the best way for a colleague of mine to check out my application from our SourceSafe database and use these libraries. I…
Malachi
  • 33,142
  • 18
  • 63
  • 96
0
votes
1 answer

Sharepoint: DLLs disappearing from the GAC

I'm fairly new to SharePoint but I'm learning fast. However, I've encountered a confounding issue that has me completely stumped, and the internet hasn't been able to provide anything useful as of yet... I'm running SharePoint 2010 in a VM, and I am…
Els
  • 321
  • 2
  • 10
0
votes
1 answer

Assembly Version Conflict .net 4

Does anyone know about resolving this error?? The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms**9.0.0.0**__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' and…
Vinnie
  • 1,053
  • 11
  • 31
0
votes
1 answer

Is it possible to install an assembly into the GAC as some sort of 'linked assembly'?

I'm trying to deploy some sort of framework and therefore need to register some assemblies in the GAC. The interesting part is: These GAC assemblies should only be used by the framework developer, the client apps should not use these GAC assemblies…
robert.oh.
  • 644
  • 2
  • 5
  • 13
0
votes
2 answers

Using undocumented native code APIs to install items into the GAC

I'm working on a project whose setup uses the APIs documented in Microsoft Knowledge Base article KB317540 to install and uninstall assemblies into the GAC. The KB article states: SUMMARY The native code application programming interfaces…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
0
votes
1 answer

Is there a signed version of ValueInjecter that I can GAC?

Is there a signed version of ValueInjecter that I can GAC? I need a version that is strong named so that it can be GAC'ed.
0
votes
1 answer

Installshield to force replace GAC assembly with the assemby having same Version

I have a .NET DLL named A.dll version 3.303.1.1. I got a new A.dll with a patch but it has the same version 3.303.1.1 which I need to provide with the upcoming versions of my application. What I need to do is to force replace the old A.dll by the…
SujanKh
  • 21
  • 4
0
votes
1 answer

Is the GAC checked before the file system for non "strong named" assembly references?

Given we have a reference to a not strong named assembly a non strong named version of that existing in the bin directory of an app. a strong named version of that assembly with same version number installed in the GAC When that assembly is…
Simon
  • 33,714
  • 21
  • 133
  • 202
0
votes
1 answer

AppHarbor error - Unable to find the requested .Net Framework Data Provider. It may not be installed

Getting the above error when try to deploy my ASP.NET MVC project to AppHarbor: This is the stack trace: [ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.] …
jaffa
  • 26,770
  • 50
  • 178
  • 289
0
votes
2 answers

how to find out which assembly is in gac

I have a solution in Tortoise SVN, with around 100s of copies of a solution, now I am not sure which copy dll is deployed in gac, I can see date modified or something in Gac, but its not matching any of copy in SVN (I exported all near to date…
Developer
  • 477
  • 1
  • 4
  • 15