Suppose there is a solution with following projects and their respective references:
- ModelBase
- MyModel
- ModelBase
- ViewModelBase
- MyViewModel
- ViewModelBase
- MyModel
- GenericModelEditor
- ModelBase
- ViewModelBase
- WPF
MyModel contains both models and example data.
How can I get concrete implementations and sample data in GenericModelEditor at design time without introducing hard project references, reusing models/viewmodels/data that already exist ?
I would like to somehow access all types (assemblies) accessible in whole solution, perhaps using some component design-time services or EnvDTE interfaces and their Blend equivalents to instantiate classes from MyViewModel.
Blend support is less important than VS.