Should be a simple answer, but I'm not seeing it.
MVVM Light v5 introduced a NavigationService and DialogService. I wanted to make a sample application to play around with them. The advice seems to be that all i need do is register them in the ViewModelLocator
as such:
SimpleIoc.Default.Register<IDialogService, DialogService>();
The IDialogService
needs the Galasoft.MvvmLight.Views
namespace, which gets automatically resolved, but the DialogService
class cannot be found, and VS cannot recommend a namespace to import.
Similar for NavigationService
I'm assuming you are using WPF, in which case there isn't a default implementation of IDialogService and INavigationService. Thus you will need to create your own implementations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With