How to implement the new PrismApplication to replace the Bootstrapper class

前端 未结 3 1056
慢半拍i
慢半拍i 2021-01-01 13:15

Since the Bootstrapper Class is obsolete with Prism 7 I would like to change my C# WPF App using the PrismApplication Class.

Does anybody k

3条回答
  •  执念已碎
    2021-01-01 13:38

    Okay, So call me dumb or whatever but I had the same issue with the same error:

    App.RegisterTypes(IContainerRegistery): no suitable method found to override

    My issue was that I went and copied and pasted the App.xaml from Here and the cs from Here and didnt change the name space in the App.xaml from x:Class="Regions.App" to x:Class="WpfApp.App"

提交回复
热议问题