PDA

Click to See Complete Forum and Search --> : Register .NET DLL's ? DLL's does not have entry point.


KeLi
Mar 22nd, 2003, 10:07 AM
Why can't I use RegSvr32 to register DLL's created using VB .NET ? RegSvr32 tells me "DLL does not have Entry Point".

How can I register .NET DLL's ?

MerrionComputin
Mar 22nd, 2003, 10:21 AM
You don't.

One of the primary goals of the .NET idea was of "XCOPY distribution" which, put simply, means that if you copy your binaries to the right place on the target machine it should work...

hellswraith
Mar 22nd, 2003, 10:25 AM
There is a way to put it in the Global Assembly Cache....

Here you go:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconglobalassemblycache.asp

Normally though, you would want your dll to be in the application folder unless you have a specific need to do else wise.

Redth
Mar 22nd, 2003, 10:26 AM
you don't have to register .NET DLL's... actually you CAN'T register them... instead put them in the bin folder of the project you're working with.... you need to reference them to use them.. that's not the same as registering them though...

hellswraith
Mar 22nd, 2003, 10:39 AM
If you read my post above, there is a way to register them in the global assembly cache. This will allow other apps to easily use them.

Lethal
Mar 22nd, 2003, 11:43 AM
Just for a little more clarification, .NET DLL's are not built on the legacy COM infrastructure.

hellswraith
Mar 22nd, 2003, 12:15 PM
True, and that is why you can't use RegSvr32 for registering them.

vbDarryl
Mar 24th, 2003, 12:41 PM
i haven't seen much on the subject yet, but how do you create a dll in .net? all i have seen so far is how a vb 6 dll can be used by a .net application.