How to implement the new PrismApplication to replace the Bootstrapper class

前端 未结 3 1133
春和景丽
春和景丽 2021-01-01 13:25

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:46

    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"

提交回复
热议问题