question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to Prism 8.1.97

See original GitHub issue

As a user, I’d like to use the latest Prism framework with Prism.Avalonia which supports .NET 5, Linux and includes newer features. Figured this story would help keep the ball rolling and a discussion flowing. 👍

Thus far, the upgrade is nearly straightforward comparing Prism Library v7.2.0.1422…v8.1.97. However, there are some speedbumps that were bound to happen. The focus of comparison thus far is the project, Prism.Wpf.

Upgrade Progress: Upgrade-Prism-7.2-to-8.1.md Local Pull Request: #11

If any of you have some insight into issues found along the way denoted by the ⚠️ symbol in the Upgrade file, please join in to help keep this moving.

Action Items

  • Upgrade Prism.Avalonia
  • Upgrade Prism.DryIoc
  • Upgrade Prism.Unity
  • Remove IOCs not supported by Prism v8.1
  • Upgrade Samples
  • Add Unit Tests, matching PrismLibrary

Out of Scope

  • Restructure folders to match PrismLibrary
  • Add Prism Dialogs for Avalonia

Speedbumps

  • ModuleCatalog.cs
    • Cannot use ContentPropertyAttribute such as [ContentProperty("Items")] - (Already addressed in 7.2.x)
    • Cause: ContentPropertyAttribute references System.Windows.Markup and Avalonia.Markup.Xaml doesn’t have one

Updates

  • 2021-09-07 - Changed links to point at this repo’s branch, now that it is housed here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:30

github_iconTop GitHub Comments

3reactions
DamianSuesscommented, Aug 24, 2021

@OmidID I was hoping to be able to dedicate more time to the upgrade process. I’m still keeping an eye on it, just got busy at the day job (which is using this project). Going to squeeze in more off-hours to commit towards this effort.

2reactions
DamianSuesscommented, Sep 6, 2021

Thank you, I appreciate the invitation, @OmidID. Yes, that would make things easier indeed 😄 Today is our Labor Day celebration here in the states, when I get settled in, I’ll push up the branch here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Prism.Wpf 8.1.97
Prism provides an implementation of a collection of design patterns that are helpful in writing well structured, maintainable, and testable XAML applications, ...
Read more >
Releases · PrismLibrary/Prism
Prism 8.1 is largely a service pack release for Prism 8.0. If upgrading from Prism 7, it is recommended that you skip Prism...
Read more >
Prism.Forms 8.1.97
Prism provides an implementation of a collection of design patterns that are helpful in writing well structured, maintainable, and testable XAML ...
Read more >
Migration from Prism 7 to Prism 8
I'm trying to upgrade from Prism 7.1.0.431 to 8.1.97 and I'm having several problems. I think my biggest problem comes from replacing the...
Read more >
Prism.Forms 8.1.97 on NuGet
Prism is a fully open source version of the Prism guidance originally produced ... When upgrading to Prism 7 you will need to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found