This project is read-only.

Unable to get view model to resolve

Jul 25, 2011 at 10:19 PM

I know this is probably a simple question, but I can't seem to find the answer. Simply put, I have two projects: one contains the view(s), the other the view model(s). When I use the MapViewModel attribute I get the following exception: Cannot resolve resource of type nRoute.ViewModels.IViewModelProvider. After some research, it seems that the provider doesn't get registered in the resource catalog. 

In other words, nRoute doesn't know that the separate view models assembly exists, and so it doesn't initialize for it. Can anyone tell me how to tell nRoute that there is another assembly out there to look in? 

Jul 25, 2011 at 11:56 PM

It helps tremendously, thanks a lot.