Arianule Arianule - 1 year ago 306
C# Question

There are no components in DLL that can be placed on toolbox

I have a

custom control that I am trying to add to toolbox. The name of the file is
and I go through the procedure of right click in Toolbox > Choose Items and then selecting the file after browsing to it under .NET Framework components.

I however get this error message:

There are no components in that can be placed on toolbox

Why do I get this message and how can I resolve it?

Answer Source

Have you checked the visibility of the custom classes?

If you haven't declared them as public they will default to internal and hence aren't exposed to visual studio for use

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download