Caliburn-Micro / Caliburn.Micro

A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
http://caliburnmicro.com/
MIT License
2.8k stars 779 forks source link

WinUI 3 support #771

Open C1rdec opened 3 years ago

C1rdec commented 3 years ago

Any chance that WinUI 3 would be supported?

C1rdec commented 3 years ago

A System.NullReferenceException exception is thrown in PrepareApplication since the Application is a Microsoft.UI.Xaml WinUI 3 seems to be a mix of WPF and UWP but only WPF dlls are loaded with the nuget. The CaliburnApplication and the respective container are not available.

image

Here is a simple repo => https://github.com/C1rdec/CardCaster

vb2ae commented 3 years ago

I am working on this.

C1rdec commented 3 years ago

Can I help somehow?

NormskiJJO commented 3 years ago

Problem is that BootstrapperBase passes useApplication = true by default. Then in PrepareApplication() is tries to hook into Application Events Startup DispatcherUnhandledException Exit

but these events do not exist in Microsoft.UI.Xaml.Application

Passing false into the BootstrapperBase construct gets the Caliburn going further!

glyad commented 2 years ago

Hi All,

Can somebody update me please, what happens with WinUI 3 support? I have a real project, which must to be developed as WinUI app. Can I use CM (somehow)? Where can I find dev. sources (e.g., fork, branch, something else), documentation, recipes?

Thank you in advance!

C1rdec commented 2 years ago

@vb2ae where are you at? Do you have a current branch that we can look into?

More than happy to help

TieDyeGeek commented 1 year ago

@vb2ae - Do you have any guess on when you plan to release version 5.0?

mcyenikoylu commented 3 months ago

I wanted to keep the WinUI3 support topic up to date!