Do ViewModels have to be in the same Namespace?

Topics: Bootstrappers & IoC, Conventions
Mar 27, 2013 at 4:58 PM

I'm trying to use a viewmodel stored in a portable class library, which has a separate namespace and it doesn't resolve.

As a test I created a separate project and made the namespace the same as the view project and all works ok, suggesting to me that the names[paces need to be the same.

Is there some configuration in the bootstrapper to make it work across namespaces? I've added the using statements etc, so VS knows about them.
Mar 27, 2013 at 6:00 PM
Edited Mar 27, 2013 at 6:00 PM
Mar 27, 2013 at 6:22 PM
Thanks, but from what I can understand, it will work across assemblies, but not across namespaces that differ?
Mar 27, 2013 at 9:27 PM
it should work over secondary assemblies if you use the override of SelectedAssemblies()
Mar 28, 2013 at 2:06 AM
Interesting, I'll have to take a look and see if it helps.