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

Moving MMC snap-in from VS2008 to 2010

This is not so much a question but rather a comment since I've found the answer already. Problem: I was moving a VS2008 project to VS2010, which uses the Microsoft.ManagementConsole namespace. The reference of the project targeted the DLL registered…
Damian Vogel
  • 1,050
  • 1
  • 13
  • 19
0
votes
1 answer

How ASP.NET MVC / ASP.NET Web Pages assemblies are found by framework?

I have MVC assemblies here: C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies and ASP.NET Web Pages assemblies here: C:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v2.0\Assemblies\ These assemblies are not installed into the GAC…
artvolk
  • 9,448
  • 11
  • 56
  • 85
0
votes
1 answer

How to prevent removing preexising GAC entries during uninstall of msi via Wix

I have a wix script which places some shared Dll s which are commonly used by different applications. If the dll is already registered by another msi, no problem it won't be deleted unless all msi using it uninstalled. But in my case the entries are…
haltunbay
  • 615
  • 6
  • 15
0
votes
2 answers

Visual Studio 2012 - EntityFramework and clearing it from GAC

Visual Studio 2012 question: Recently installed 2012 (2010 was on here already) ... downloaded project from TFS ... went to run the project and it needed EntityFramework ... Installed EntityFramework from NuGet ... Here's the problem: now it is…
Theo Tigno
  • 1
  • 1
  • 1
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
0
votes
0 answers

Add Assembly to the GAC and reference it from web.config

I Wrote a class Library (.Net Framework 2.0) and I created an empty Web Application project When I added the dll as reference to the Web Application project everything works fine. But when I added the dll to the GAC and write the following lines to…
orit cohen
  • 101
  • 1
  • 2
  • 7
0
votes
1 answer

VB6 interopability and VB.NET

I have registered a type library on a server (server 1) using REGASM. The type library allows me to use code in a VB.NET DLL from a VB6 application. Ideally the VB.NET DLL needs to access code in another VB.NET project on another server (server 2). …
w0051977
  • 15,099
  • 32
  • 152
  • 329
0
votes
0 answers

Visual Studio 2008 - Cannot find reference to appropriate Crystal Report version

My development laptop was recently exchanged for a newer model. I have Visual Studio 2005, 2008, & 2010 on this computer. One of our web applications uses Crystal Reports. The web.config file references version 10.2.3600.0:
Mark
  • 1,455
  • 3
  • 28
  • 51
0
votes
2 answers

Localization with SSRS

I'm trying to localize a SSRS reports. I have a DLL that uses a ResourceManager to access resource files that are embedded in the dll. My report has a reference to the dll. The dll is signed and strongly named. The dll and resource files' dll are…
0
votes
1 answer

Using COM from within Sharepoint

I have two ocx files which i registered on my computer using regsvr32. I use them in my visual studio project by adding a reference to the COM objects, to the project. The problem is that when I attempt to add these to a SharePoint project, when I…
user1365247
  • 337
  • 7
  • 17
0
votes
1 answer

how to use same name dll in one application

To build an Autocad application I use C# 4.0. My application has two module one for 2005 and another for 2010 autocad. it uses special dll's of autocad ,but face some difficulty of finishing it up .All should be universal for 2005 and 2010 autocad…
shamim
  • 6,640
  • 20
  • 85
  • 151
0
votes
1 answer

how to uninstall a binary from GAC in windows 7?

i need to delete a binary from GAC in win 7..I know how it works for win xp but i cannot go through the same procedure in win 7
Techy
  • 315
  • 1
  • 5
  • 14
0
votes
1 answer

A way to registrer Excel assemblies into the GAC

I have developped a web application by using the ASP .NET MVC 3 framework. I use programmatically Excel assemblies to create Excel workbooks. My web application works fine on my development machine but it does not on the production…
user1139666
  • 1,687
  • 4
  • 24
  • 45
0
votes
2 answers

Drag and Drop DLL to assembly folder

I dont have gacutil on the computer I have to install this assembly so can it be done instead of using gacutil? If yes, whats the difference? Its a .net 2.0 assembly
Diego
  • 34,802
  • 21
  • 91
  • 134
0
votes
0 answers

Cannot import C# library in sharepoint 2010 application page

I want to reference a class library method inside the application aspx page but I keep getting the dreaded Yellow Screen of Death with the error message CS0103: The name 'Common' does not exist in the current context. I followed the steps…
Raihan Iqbal
  • 407
  • 3
  • 16