Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinUI 3 support #771

Closed
C1rdec opened this issue Aug 14, 2021 · 13 comments · Fixed by #853
Closed

WinUI 3 support #771

C1rdec opened this issue Aug 14, 2021 · 13 comments · Fixed by #853
Assignees
Milestone

Comments

@C1rdec
Copy link

C1rdec commented Aug 14, 2021

Any chance that WinUI 3 would be supported?

@C1rdec
Copy link
Author

C1rdec commented Aug 14, 2021

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
Copy link
Member

vb2ae commented Aug 14, 2021

I am working on this.

@C1rdec
Copy link
Author

C1rdec commented Aug 23, 2021

Can I help somehow?

@NormskiJJO
Copy link

NormskiJJO commented Oct 21, 2021

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!

@vb2ae vb2ae added this to the Version 5.0 milestone Nov 22, 2021
@vb2ae vb2ae self-assigned this Nov 22, 2021
@glyad
Copy link

glyad commented Aug 14, 2022

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
Copy link
Author

C1rdec commented Sep 12, 2022

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

More than happy to help

@TieDyeGeek
Copy link

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

@mcyenikoylu
Copy link

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

@olluz
Copy link

olluz commented Jan 9, 2025

V5 Beta

14 Dec 2024

Caliburn Micro V5 Beta Release Notes

New Features

  • .NET MAUI support
  • Avalonia UI support
  • WinUI 3 support

where can I find the V5 Beta version ? I've tried this tag: 5.0.187-beta+e6e10142ea, but it is not included

@vb2ae
Copy link
Member

vb2ae commented Jan 10, 2025

you can get from the github nuget feed now

https://github.com/Caliburn-Micro/Caliburn.Micro/pkgs/nuget/Caliburn.Micro.WinUI3

@vb2ae
Copy link
Member

vb2ae commented Jan 10, 2025

instructions on how to use github nuget feed are on this page

https://caliburnmicro.com/documentation/nuget

@vb2ae
Copy link
Member

vb2ae commented Jan 11, 2025

The package is also available on myget now

https://www.myget.org/feed/caliburn-micro-builds/package/nuget/Caliburn.Micro.winui3

@vb2ae
Copy link
Member

vb2ae commented Jan 11, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants