I have project containing few user controls (each represents a game, but that’s irrelevant), in the second project (the game client) I want to list controls that are in that first library, create their objects and attach that control to a container. How can I do that?
These are WPF projects. Please note that I don’t want to use VS toolbox, as that library will be independently updated, while the client not.
Let’s imagine all your control inherit from the Control class, you can do that
So you’ll get all your type in the res list.
EDIT
And like that you can create your instance