Prism 6 compatibility with older versions

青春壹個敷衍的年華 提交于 2019-12-05 09:50:14

You'll have to stick with Prism 5 or upgrade everything to Prism 6. There are some breaking changes between these versions:

  • Removed all types that were marked as "Obsolete" in Prism 5
  • Removed IView interface
  • Changed namespaces to remove Microsoft namespaces
  • Moved a number of types around to better organize and to get as much into a single Portable Class Library as possible
  • ViewModelLocator naming convention changes: [Name]View now requires [Name]ViewModel. No longer [Name]ViewViewModel

Source: https://github.com/PrismLibrary/Prism/blob/master/README.md

The namespace change alone is already enough to 'break' your application. You'll now have 2 different instances of e.g. EventAggregator (as they live in a different namespace).

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!