Do ViewModels have to be in the same Namespace?

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

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 7:00 PM
Edited Mar 27, 2013 at 7:00 PM
Mar 27, 2013 at 7:22 PM
Thanks, but from what I can understand, it will work across assemblies, but not across namespaces that differ?
Mar 27, 2013 at 10:27 PM
it should work over secondary assemblies if you use the override of SelectedAssemblies()
Mar 28, 2013 at 3:06 AM
Interesting, I'll have to take a look and see if it helps.