CommonServiceLocator dependency

Jan 30, 2013 at 12:47 PM
Edited Jan 30, 2013 at 10:19 PM
Would it be difficult to get rid of dependency from MVVM Light to CommonServiceLocator? Abstracting from dependency injection container may be considered a controversial design decision (an alternative is to constrain its usage to the start-up code where it can easily be replaced).

Update: from what I found on the other thread (http://mvvmlight.codeplex.com/discussions/429311) I got a bit confused. That request is the opposite of mine.
Jan 30, 2013 at 1:41 PM
Edited Jan 30, 2013 at 10:19 PM
Originally this question addressed portable MVVM Light fork as I thought that the main branch didn't have this dependency. Now I understand that this change would break backwards compatibility since this dependency exists for long time, just wasn't specified on NuGet.