Cannot add my user control to the toolbox

  • Thread starter Thread starter Lagrange70
  • Start date Start date
L

Lagrange70

Guest
Hi,

I have a problem adding my own user control to the control toolbox. Here is what I did:

- created a separate project in the solution, designed the user control and built it. The access modifier of my class is "public" and it inherits from "UserControl"

- added the control as a project reference to another project in the solution

- rebuild the entire solution, restart Visual studio

Problem:

- the control does not show up in the toolbox. I also tried to add it manually via "Choose items", add ".Net Framework Components", then browsed to dll. I get a message saying "The file <filename> is not valid."

thanks in advance

Holger

Continue reading...
 
Back
Top