gac

GAC Assembly Missing in Add Reference dialog

I have an Interop assembly lying in GAC; Windows Explorer clearly shows it listed in the C:\WINDOWS\assembly folder. Yet, when I try to add a reference to it in from Visual Studio, I can't see it anywhere in the Add Reference dialog. If this is happened to you too, what is the reason for this? And how do I fix this? (The assembly is ac...

Check GAC for an assembly

How to programmatically check GAC for an assembly? ...

Visual Studio 2010 - Cannot add assembly references from the GAC

Hi, I have now gone over to Visual Studio 2010 Beta 2 I have used it for a few days, but now I can no longer add references from the GAC. (http://bildr.no/view/549966) Sorry since this is not directly a development question, but I was not sure where to ask. Does someone know how to fix this? ...

When you move a new version of a dll to the GAC, will it be automatically updated in the running services?

Or do I have to restart each service that uses it? ...

Problem with Office 2003: Unbale to find Microsoft.Office.Interop.Powerpoint dll

Hi All, I have created a windows application which makes use of Office.dll and powerpoint dll of Microsoft office 2003. At design time, when I am adding referrence of these dlls to my project it refers following path; C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.PowerPoint\ The application runs perfect on the machine where it is de...

DuplicateFile table with GAC

hello, My installer has grown very large b/c of file duplication. Some of our DLL's are in two places (local and GAC or local and system32 folders). How can I use the DuplicateFile table or other Installshield mechanism (installscript?) to duplicate the file in the GAC? It's the same file that needs to be copied to two locations but I ...

Assembly.Load strange behavior

I have "Microsoft.Web.Services2.dll" V2.0.3.0 in my GAC of two machines. I am running this line in both of them: Assembly.Load("Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"); (note the version is 2.0.0.0 and not 2.0.3.0) On one machine this fails (as I would expect). In another it works...

Don't see certain assemblies in the GAC

I am using 3rd party controls in my asp.net project. These controls are supposed to be installed in the GAC but when I run gacutil -l I don't see them listed, but when i look at C:\windows\assembly The files are there. (I ran gacutil from this directory, if that makes a difference). What is going on here? ...

Assembly installed into the GAC not showing up in Visual Studio

This sounds related to this question, but they aren't the same thing. That question had no assemblies showing up. Mine has everything except the specific one I installed. I'm hoping someone has a solution to this... am I doing something wrong? Or did I find some bug in VS? I am using Visual Studio 2010 Professional Beta 2 on Windows...

GAC'ing 4.0 assemblies

I have built a dll with VS2010 targeted for framework 4.0. When I try to gac the assembly (either by drag drop the assembly into the GAC folder or by command line using gacutil), it does not give me any error. It says that the assembly was successfully added to the cache. But I am unable to see the assembly in the GAC folder. Wont it sho...

How to resolve local DTDs without System.Xml.Utils.Dll(XmlPreloadedResolver)?

I use an external DTD to validate my xml files. Since the XmlReader seem to look for the DTD only in the folder where the xml file is, I need to somehow tell the reader to look into a specific folder where my dtd's are. I though of XmlPreloadedResolver to solve this but I cannot find System.Xml.Utils.Dll in the GAC. Isn't this a standa...

Define a .net reference to always use the latest version of a GAC'd dll?

We have a vendor who is writing an application for us who makes use of a dll I've provided to them. My boss just found out that if we ever need to make a change to one of our dll's we'd have to provide the updated version to the vendor so they could recompile their project. This causes problems because we don't have automated testing a...

Why does VSTestHost.exe load assembly from c:\windows\assembly\temp directory?

I am developing an assembly which has to be installed in the GAC, and as part of a post-build step I ensure that the GAC gets updated after each build. If I create a (Visual Studio) unit test (in a seperate tests assembly) to call a new method on a class under test, then implement the method on the class under test (TDD style), then run ...

Load multiple versions of the same dll without putting it in the GAC

Hi, I would like to load two different versions of the same dll within the same process. At the same time I would like to avoid placing any of them in the GAC. Any ideas? Thanks, Krikor ...

What's this folder structure for? (Local user GAC?)

I've just stumbled across this folder structure on my machine which contains lots of .NET assemblies similar to what you might find in the system GAC. This puzzled my as I've never seen this folder structure before and it makes me wonder, is there such a thing as a local user assembly cache? The folder structure is: C:\Documents and Set...

Rules for when .NET referenced assembly is put in bin\debug

How does .NET (or Visual Studio) build decide whether or not to copy a referenced assembly to your bin/debug or bin/release directory? (This is an .exe console program.) On my machine, I had the referenced assembly in the GAC. A co-worker copied my bin/release to their machine, and it wouldn't run because the referenced asssembly was...

SSIS Script Component + Helper Assemblies (.dll's)

I got a script component which does Transformation / DataType conversions / Creating some calculated columns. All the transform validations / datatype conversion methods and for new column generation is put into custom .dll. As this script component would be same for all other tables, only thing is to define input / ouput columns and a...

How exactly does a WSP deploy a dll internally

i am facing a problem with deploying dlls with a WSP. After deploying the first version of the dll using a WSP, if I want to change the dll and redeploy after retracting, it is still referring to the old assembly, even though it is no longer there in GAC. Is there any caching feature in Sharepoint that is not very obvious? Thanks in adv...

NANT Script does not always deploy dlls to GAC on dev machine

We have a NANT script that uses msbuild to compile our visual studio solutions and deploys the .dlls into the GAC. This works well on our integration/test servers as part of continuous integration, cruise control uses the NANT scripts and every time the dlls are put into the GAC without problem. On our local development machines, where...

Resharper + Sharepoint = locked DLL in GAC

If you develop to Sharepoint with Resharper, there are DLL locks in GAC. This issue blocking you to publish your DLLs to GAC. How to deal with it? UPD: here is my development scenario: VS 2008, resharper 4.5 I'm developing website for '_layouts' directory and some DLLs for this website (data access level (DAL.dll) for exapmple) In t...