How to do I register my project?

D

dmp5042

Hello,

I am attempting to create a plugin. In order to implement it into the
software it needs to be registered. I do not believe that the .dll
file is registering when I build my solution. It should register
automatically when I build it (right?). Furthermore, I tried to
manually register it using the regsvr32 and this error window
appeared:

“VBNET.First.dll was loaded, but the DllRegisterServer entry point was
not found.

This file can not be registered.”

I believe that I need to include some code in my class in order for it
to register. I found out that the “System.Runtime.InteropServices”
namespace contains classes that allow me to give my class an explicit
GUID and ProgId. I did that but it is still not working correctly. Do
you know what I’m missing or what I need to do? Thanks.

-Dave
 
S

Smokey Grindel

we dont really 'register' managed libraries anymore... you can put it in the
GAC if you want


Hello,

I am attempting to create a plugin. In order to implement it into the
software it needs to be registered. I do not believe that the .dll
file is registering when I build my solution. It should register
automatically when I build it (right?). Furthermore, I tried to
manually register it using the regsvr32 and this error window
appeared:

“VBNET.First.dll was loaded, but the DllRegisterServer entry point was
not found.

This file can not be registered.”

I believe that I need to include some code in my class in order for it
to register. I found out that the “System.Runtime.InteropServices”
namespace contains classes that allow me to give my class an explicit
GUID and ProgId. I did that but it is still not working correctly. Do
you know what I’m missing or what I need to do? Thanks.

-Dave
 
H

Herfried K. Wagner [MVP]

Smokey Grindel said:
we dont really 'register' managed libraries anymore... you can put it in
the GAC if you want

Well, it depends on the type of application the OP wants to extend. Maybe
he is attempting to extend a COM/ActiveX-based application. In this case
the following documentation may be useful:

Exposing .NET Framework Components to COM
<URL:http://msdn.microsoft.com/en-us/library/zsfww439.aspx>
 

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