Can you Register multiple locations with ViewModelLocator?

Sep 5, 2014 at 7:20 AM
Edited Sep 5, 2014 at 7:24 AM
Hi

Developing a Universal App and all my views are located in the .Shared Views folder. But, I have multiple assemblies that will have ViewModels. Is it possible to register more than one location for the AutoWireViewModel and If so, how?
Sep 5, 2014 at 11:29 AM
Yeah of course it is. Look at the Reference implementation of the converged build in app.xaml.cs at the GetType override.
Sep 6, 2014 at 2:27 AM
Hi,

Thanks for your reply!

I looked in the Source Code/Converged here online, but I couldn't find the GetType override, could you link me to the one your referring too or Past the code here? I would appreciate it.
Sep 7, 2014 at 4:01 AM
Cancel that! I decided to move all ViewModels to the .Shared and remove all business logic from it and move them to a Model/Service/etc folders of their perspective assemblies.