dot net distribution

S

Shinya

How can i distribute the dot net dll?
We used to distribute active x dll for VB6 VC. At the installation with
installer,
we always reigster the dlls with regsvr32. However for dot net dlls
this doesn't work. I have been going through the web and some told me to use
regasa.exe. some says don't need to register and just ask custoemrs to
provide dot dll files
when developping with vb.net or c#. what is the real solution for this
issue?

SK
 
N

Norman Yuan

What kind of DLL are you talking? the dll you developed along with you exe
or dlls in the .NET framework?

For the former, you have several options, but the simplest and default
option is doing nothing but placing the dll and the exe in the same folder.
Regsvr32 is for ActiveX dll, not for .NET dll.

As for latter, well, again, you do nothing but install .NET framework.
 
P

Phil Wilson

If your .NET assembly provides COM interfaces, it needs registering,
otherwise it doesn't. Regasm.exe is the tool for the development
environment. Details vary, but in a setup project that builds an MSI file to
install your app, start by setting the Register property of the file to
vsdraCOM, but there may be some wrinkles depending what kind of interface
you exported, and that may mean you need to use tlbexp to create a type
library to add to your setup project.
 
G

Gabriel Aizcorbe

Shinya,

What kind of DLL you want to distribute ?

dotNET dll's can't be registered...
If you talk about framework dll's I encourage you to check your customer
framework existence and/or version
If you talk about other dll's like old controls or COM objects just
reference them from your SetUp project

I assume you are doing a SetUp Project for your application.... if not, I
encourage you to do one.
Best Regards,

Gabriel Aizcorbe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top