There is a Compiler Error in Mvvm-Light Toolkit if you update to CommonServiceLocator v1.4.0. The Problem is that IServiceLocator is outdated i think. Will the Toolkit be Fixed? Is it outdated too? Maybe someone can help me.
There is a Compiler Error in Mvvm-Light Toolkit if you update to CommonServiceLocator v1.4.0. The Problem is that IServiceLocator is outdated i think. Will the Toolkit be Fixed? Is it outdated too? Maybe someone can help me.
I had this problem when migrating to .NET Standard. There is a new MVVM Light for .NET Standard which removes the dependency on CommonServiceLocator. If this is your case, see this link: MVVM Light and CommonServiceLocator
Apparently you'll need to set up binding redirects for this to work. But for now there's really no need to update service locator, as the 1.4 update is only there to support Unity5 when it's released.
https://github.com/unitycontainer/commonservicelocator/issues/9#issuecomment-331859203