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 ?
Printable View
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 ?
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...
There is a way to put it in the Global Assembly Cache....
Here you go:
http://msdn.microsoft.com/library/de...emblycache.asp
Normally though, you would want your dll to be in the application folder unless you have a specific need to do else wise.
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...
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.
Just for a little more clarification, .NET DLL's are not built on the legacy COM infrastructure.
True, and that is why you can't use RegSvr32 for registering them.
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.