Deploy C# DLL

On the development PC, this C# DLL is working very well. How do I deploy it to other PCs

Answer this question

Deploy C# DLL

  • Bruce H

    Well... you could just move the .dll to wherever you need it. I don't quite understand the question. As long as the other PC's are running the 2.0 Framework they shouldn't have any problem with the file.

  • sparkplug

    The question is: having copied the DLL to the other PC running .NET Framework 2.0, what ELSE do I need to do to make the DLL visible to clients

    My own research suggests that I should use REGASM to register it. I have done and although the DLL is visible, it does not expose any properties, methods, or events.


  • ttmsdn

    What you need to do on the destination PC depends on what the DLL is and how it will be used and by what kinds of clients.

    Will it be used by more than one application If so, be sure it is signed and install it to the GAC (http://support.microsoft.com/default.aspx scid=kb;en-us;815808).

    If it is just being used by a single .NET application you can leave it in the same folder as the application that will use it.

    Using regasm is primarily used to give COM clients the ability to use the DLL. Will it be used by COM clients



  • Deploy C# DLL