Deploy COM DLL to the GAC

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ben Amada (ben_at_REpoMOweVErpick.com)
Date: 12/04/04


Date: Sat, 4 Dec 2004 01:56:41 -0700

Hi,

In VS.NET 2003, I've created a COM Interop project. I have the DLL and TLB
file in the /bin directory. I want to deploy this to the GAC of another
machine which has the .NET framework installed on it. My questions are:

1. This might sound stupid, but where exactly is the GAC?

2. Do I need to copy both the DLL and TLB files to the GAC?

3. Do I need to run regasm if deploying to the GAC?

4. Do I need to create a strong name for the assembly if deploying to the
GAC?

Thanks in advance for any information,
Ben



Relevant Pages

  • Re: COM
    ... > a tlb from it using regasm.exe and import it in my project i also put the ... regasm's real job is to create the necessary registry settings for ... > dll under the directory of my exe file but it failes when i try to all the ... GAC so it can be found. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Basic .Net question
    ... I know 3 different ways of deploying a .Net assembly into the GAC. ... mean that you want the equivalent of regsvr32 for .NET assemblies, ... I have been digging around for info on the deployment of a .Net DLL. ...
    (microsoft.public.dotnet.framework)
  • Importing a C#.NET dll into Delphi
    ... I have a dll created in C#.net, that I wish to call from Delphi 5. ... have strong-named the assembly, deployed it in the GAC, and registered ... 'Import Type Library' option in Delphi, ... or am I missing a step before creating it and deploying it ...
    (microsoft.public.dotnet.languages.csharp)
  • Importing a C#.NET dll into Delphi Options
    ... I have a dll created in C#.net, that I wish to call from Delphi 5. ... have strong-named the assembly, deployed it in the GAC, and registered ... 'Import Type Library' option in Delphi, ... or am I missing a step before creating it and deploying it ...
    (microsoft.public.dotnet.framework)
  • Importing a C#.NET dll into Delphi Options
    ... I have a dll created in C#.net, that I wish to call from Delphi 5. ... have strong-named the assembly, deployed it in the GAC, and registered ... 'Import Type Library' option in Delphi, ... or am I missing a step before creating it and deploying it ...
    (microsoft.public.dotnet.framework.interop)