A little background, I am working on a client server application using MVVM.
I have a common assembly that contains the models.
In my client solution I have a WPF Controls library that defines a data templates for the models in the common assembly.
The client application references the WPF controls library. When I run the application the data templates are not found.
I did some researching in reference source and found that Content Presenter will attempt to find the Data Template using a DataTemplateKey. The problem here is that DataTemplateKey use the data type's (Model in the common assembly) assembly in its implementation of Resource Key.