Search code examples
prismwinui-3

Can I use Prism for WinUI 3 apps?


I'd like to use Prism in a WinUI 3 app, and I saw the Prism v8.1 release.

Additionally Prism 8.1 offers a new Prism.Uno.WInUI platform target for those wishing to build either native WinUI3, or Cross Platform WinUI 3 apps with Uno Platform.

I'm confused about Uno. I'm not using Uno, can I still use Prism in a WinUI 3 app without using Uno?

If yes, which packages do I need to install and in which projects? (I'd like to use DryIoc)

I guess Prism.DryIoc.Uno.WinUI must be added to the WinUI 3 app project.

But what about the other packages for using Prism?


Solution

  • There is a question about an error while using Prism.Uno with WinUI 3: How to use Prism MVVM in WinUI 3 Desktop

    In the comments section, there is a link to a GitHub discussion that is held in Prism GitHub repository. Here is the link: https://github.com/PrismLibrary/Prism/issues/2632

    In this discussion, on Dec 7, 2021, it is stated that there is not any support for WinUI 3 other than Prism.Uno.