I am doing a small application using .NET
First I created a windows application
Then I created windows control library
Then I build the control library
Then I add project reference to the control library from windows application
When I try to put the control on the windows application I got following error.(attached)
I then try the same procedure on a different machine and it worked..
I have been trying to make this work in my computer for last couple of days.
And it simply does not work..
But if I put dll reference instead of project reference in my machine it works fine.
I'm not sure if it's the case in your project, but that error occurs when you create a reference to a project that hasn't been built.
You need to build all the projects in your solution before you add the reference. Also, you will need to make sure that the depencies in the solution are in the correct order. That way, VS will compile the components before the windows form project.