如果您更新到 CommonServiceLocator v1.4.0,则 Mvvm-Light Toolkit 中存在编译器错误。问题是我认为 IServiceLocator 已经过时了。工具包会被修复吗?它也过时了吗?也许有人可以帮助我。
最佳答案
我在迁移到 .NET Standard 时遇到了这个问题。 .NET Standard 有一个新的 MVVM Light,它消除了对 CommonServiceLocator 的依赖。如果您是这种情况,请参阅此链接:
MVVM Light and CommonServiceLocator
关于Mvvm-light 和 Common Service Locator 1.4.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46341127/