gac

Installing native assembly into GAC

Hello, I have an assembly containing a mixture of Managed and unmanaged C++ code. I have signed it and installed into Global Assembly Cache. My program (.Net, C#) won't find it there, although it worked perfectly well when the assembly was in the program directory. The program uses DllImport and pinvoke to call the methods from the asse...

Creating a setup (MSI) to register (regasm) an assembly

Heya, I'm working on a toolbar for IE using .NET. Currently, I insert my .NET assemblies with gacutil, and register my COM assembly with regasm. I want to create a setup (MSI) for the project, but I can't seem to register the types. I have everything in GAC folder of the setup project, but I can't find a way to essentially run regasm ...

How can i register a vb6 dll in the gac to be able to add it as a reference in a siss script task

How can i register a visual basic 6 dll in the global assembly cache to be able to add it as a reference in a sql server integration services script task. ...

ClickOnce requires the assembly MyProject be in the GAC???

I am at a loss for words on this one. Hopefully one of you can clue me in... We've been using ClickOnce deployment in conjunction with CruiseControl.NET for a long time and have not had any hiccups for a long time. Yesterday, I modified was in the References tab on the project's properties and ended up tempted by the "Unused Refere...

How to know whether I'm running from the GAC or not?

Given a class library DLL that can be installed on the GAC (production) or not (development), I need to know whether the executing assembly is running from the GAC or not. How can I know this? ...

Was it bad practice for an application to install a 3rd party assembly in the GAC without asking?

Scenario: We have a server where there are multiple ASP.NET websites hosted on it. A few days ago quite a few of these websites "broke" with the following error: Warning 44 Could not resolve this reference. Could not locate the assembly "AjaxControlToolkit, Version=1.0.10920.32880, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, ...

Force GAC installation before running .NET custom action?

Hi, I'm using a VS 2008 Setup and Deployment project to deploy a mixed managed / unmanaged application. I've had trouble registering mixed-mode DLL's using the built-in registration property ("vsdraCOM" enumerated value of the "Register" property.) As a workaround, I've added a .NET custom install assembly (with a class that derives f...

Monitor How Often Assemblies Are Loaded From GAC

I currently have 3 servers each running different applications. Occasionally through installation misconfiguration and code re-factoring these machines are left with assemblies in the GAC that are no longer being referenced or used by anything. Are there any tools anybody is aware of to monitor / log how often, or when certain assembli...

Support for DEVPATH

Hello I have a question about support for DEVPATH (http://msdn.microsoft.com/en-us/library/cskzh7h6.aspx) in the future. As I have read Microsoft considered deprecating it in the past but decided not to. Do you know if there are plans of deprecating it in .NET 4.0 or further? Or is it going to be supported? Thank You Kuzu ...

What happens in 'assembly purgatory'?

When a .NET assembly is deployed to the GAC and the destination file is locked, Windows holds it in what I can best guess is some sort of 'assembly purgatory' - c:\windows\assembly\temp. Using Process Explorer these can easily be seen when searching for the suspect DLL: As soon as I end the process locking the file (in this case OWST...

Add assembly and debug symbols (pdb files) to GAC - Wix Installer.

I am using Wix Installer (3) for deploying my application. How can I add both the output dll from one of the projects in my solution and the debug symbols (pdb files) to the GAC? (I have a C# application developed in Visual Studio 2008) ...

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? ...

Deploying assembly normally in the GAC with my project?

Hello. I built a web application that uses the J# libraries which works fine in my cpu, however, when I deploy it to my shared server. I get an error message: Parser Error Message: Could not load file or assembly 'vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot fi...

Wix - Dynamically Register Assemblies to GAC

I am writing a Wix installer to install .NET assemblies to the GAC. Easy... My question is: is it possible to future proof this scenario so that I can pull ANY assemblies found in an existing network folder and register each of them - without having to hardcode the exact assembly names? This would allow me to create a single MSI that co...

using .NET Assemblies in Delphi

I am currently required to open and use a .NET assembly in delphi. The Assembly that i am trying to use also has an assembly of objects it is using. With the object assembly i was able to use regasm to create a type library. I was also able to assign a SN and register it with the GAC. Now with the main assembly i am tyring to use i...

Duplicate System.Web in GAC!

Hi I am trying to deploy an asp .net MVC app onto II7 and getting the following error: Could not load file or assembly 'System.Web' or one of its dependencies. An attempt was made to load a program with an incorrect format. The server has .net 3.5 SP1 and I tried including the dll in the website bin with no luck! I noticed in the GA...

Unit Testing Assemblies Running Out Of Process

Anybody out there have experience testing "out of process assemblies"? I'm testing some Com+ (Serviced Component) and WCF services configured to be activated out of process and I'm not sure what the best practices are for testing in these situations. What I've done is given the public classes their own IOC container that they can buil...

Programmatically add a strong named assembly to the GAC

Hello, Is there anyway to programmatically add a strong named assembly to the GAC using C# code ? Thanks ...

What is the GAC in .NET?

Just looking for a short overview of GAC for a layman, not a link please. ...

Adding a reference to an assembly with a specific range of versions in Visual Studio

In Visual Studio, you can require that an assembly reference match a specific version of the assembly. Is it possible (maybe by directly editing the csproj or vbproj file in a text editor) to reference a range of versions. My specific example is I want to reference version 2.5.x of nUnit in my test projects at work. People run differen...