gac

Where is the .NET Framework Global Assembly Cache?

Hi, I installed the VS2010 and .NET 4.0, then I compiled an assembly and ran the gacutil using the exe available on %ProgramFiles%\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools The output of the executable said the assembly was sucessfully installed on Global Assembly Cache. However, when I go to %WINDIR%\assembly folder I cannot ...

Is GAC a memory area or hard disk area?

Is the GAC a memory area or hard disk area (C:\windows\Microsoft.NET\Assembly\...) I am confused by the word cache in GAC? ...

In what location does a .NET app look for .NET assembly file?

In what location does a compiled .net app look for .NET assembly file? If the assembly file is not found in the application folder and not found in the GAC, where else will it look? ...

Installing a shared assembly to the GAC with COM interop

Specifically, I am using Wise Installation Studio to install several shared .NET 2.0 assemblies into the GAC. These are being used by some legacy COM application files as well as other application assemblies. I have the flag for "Generate COM interop registry keys for .NET assembly" set. Reference counting appears to be working for re...

Why are framework dlls repeated in several places?

After installing .Net 4 and getting some questions that were already answered here I also realized how the Framework dlls are repeated in several places for the different Framework versions (this is not new, it happens with previous versions, but hadn't paid attention to it until now) 1 - GAC: %systemroot%\assembly 2- Framework instal...

.Net/C# - Pros and cons using the GAC

Possible Duplicate: What are the advantages and disadvantages of using the GAC? Hi Guys, I would like to hear your opinion regarding the benefits of disadvantages of using the GAC in .Net applications. To me, it looks more professional to sign & register the application dlls in the GAC. It's more secure, helps with backward co...

How Does a COM Program Locate a .NET DLL Registered for COM Interop?

One customer wants to consume our .NET DLLs from VB6. They are designed to support reverse interop and all works fine... except: There are two separate VB6 programs in two different directories. It seems it's necessary to do one of: Copy the .NET DLL into both directories, or Install the .NET DLL in the GAC This is the customer's o...

Using different versions of the same assembly.

I have a project where I simultaneously must use reports built in ActiveReports 2 and ActiveReports 6. Overall, it works ok, but some of the helper assemblies use the same name. For instance, to be able to export to PDF, both versions use an assembly called ActiveReports.PdfExport.dll. The corresponding assemblies are different, of co...

MissingMethodException when running application on different computer

I have a problem where I compiled my application on Visual Studio 2010 while targetting the .NET Framework 3.5, deployed it to a client server, only to find it gives me the following error: ************** Exception Text ************** System.MissingMethodException: Method not found: 'Void System.Xml.Xsl.XslCompiledTransform.Transform( ...

Any way to make GetTypes() less brittle.

I'm iterating through all the types in GAC, GAC_32 and GAC_MSIL looking for specific types, fundamentally to match those using clauses in my source code, so when I compile the source. I'll know exactly what assembly dll's to provide. I'm getting all the file names from each of those directory and applying GetTypes to each assembly in ...

Reference non-GAC version of DLL in Visual Studio 2010

This is similar to Add Non-GAC reference to project but the solutions presented there don't seem to help. I have a WinForms UI Library (Krypton from ComponentFactory) installed in the GAC. There's a bug I want to track down in that library, so I added the source code to my solution, removed the old references from my WinForms project t...

How can I add dll to the GAC?

running gacutil.exe /i ProjectX.Core.dll, I got the message: Assembly sucessfully added to te cache, but I can't see this assembly in the c:\windows\assembly folder. What can be the problem? ...

PHP cannot find .net assembly in the .net-4 GAC

<?php $console = new DOTNET("ProjectX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=KeyTokenHere-i used a real value here", "ProjectX.Core.Services.ServicX"); echo '1'; ?> The error message: Fatal error: Uncaught exception 'com_exception' with message 'Failed to instantiate .Net object [CreateInstance] [0x80070002] The s...

C# How to redirect assembly loading using application config file

Hi Guys, I have an assembly with few versions registered in the GAC. Now, I want one of my clients which uses this assembly (version 1.3) to point to the newest version (1.4) without opening the source and recompiling the client. I saw an article demonstrating a technique for doing so using the application config file (winform applicatio...

C# how to register assembly in the GAC without GacUtil?

Hi I need to register an assembly in the GAC using batch file. Is there a way to find the installation location of GacUtil.exe or is there a way to register the assembly without GacUtil? Thank you, Adi Barda ...

Installing HTTPModule into GAC

While playing around with Sharepoint and WCF, I came across an article - Sharepoint 2007 and WCF in which the author stated the need to fix the Virtual Path Provider. He accomplished this with an HTTPModule. However, since this is a global fix, I am wondering what is the best way to install the new module into GAC? Is this the same proce...

Clarification required re: Use of .NET Assemblies in GAC - Set Up to use Globally?

Hi, I've done much reading and experimentation today regarding sigining of assemblies, and their installation into the GAC via various methods (mscorcfg.msc / drag and drop). What I thought, was that once a file was in the GAC, you did not need to make references from projects in Visual studio. I know that you CAN make references via t...

How to copy/install assembly in a GAC? (Some problem running NUnit)

I have NUnit installed at this directory. C:\Program Files\NUnit 2.5.5\bin\net-2.0 I made the directory beneath a GAC. C:\Windows\Microsoft.NET\assembly\GAC_MSIL\NUnit and copied the nunit.framework.dll, but I got the same error. When I try to run my unit test (mut.dll) in some random directory. I get the following error. I have...

.NET framework is copied to 'compiler/CLR' and 'GAC?

The book of CLR via C# has this line at page 76. When you install the .NET Framework, tow copies of Microsoft's assembly files are actuall installed. One set is installed into the compiler/CLR directory, and another set is installed into GAC subdirectory I could find the GAC at C:\Windows\Microsoft.NET\assembly, but I cou...

Installation of an assembly to GAC both for mono/.NET

As far as I know, for installation of an assmebly for .NET is as follows. 'gacutil /i nunit.framework.dll' And for the mono, set the directory to MONO_PATH is doing the job. Is this correct? With .NET/windows, where does the assembly installed? I couldn't see any change in c:\Windows\Microsoft.NET\GAC_MSIL, after running the gacu...