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.79k stars 775 forks source link

556 compatibility inquiry avaloniaui #851

Open vb2ae opened 1 year ago

vb2ae commented 1 year ago

Add Avalonia ui support

danwalmsley commented 1 year ago

@vb2ae will release a preview 7 nuget package compatible with this to nuget in a day or so.

vb2ae commented 1 year ago

@danwalmsley thanks for the heads up. @danwalmsley and @Stannieman thanks for the help with this.

danwalmsley commented 1 year ago

@vb2ae is there a special nuget feed I can use to test these nuget packages produced on ci?

vb2ae commented 1 year ago

@danwalmsley I uploaded the package here for you. https://www.nuget.org/packages/vb2ae.Caliburn.Micro.Avalonia/5.0.54-beta.ga5c370d704 but in general once the pr makes it into master we publish it to the myget feed right away

vb2ae commented 1 year ago

@danwalmsley I did notice while working on Features.Avalonia that I am getting an error System.MissingMethodException: 'Method not found: 'System.Threading.Tasks.Task Avalonia.Threading.Dispatcher.InvokeAsync(System.Action, Avalonia.Threading.DispatcherPriority)'.' when using the MessageBox.Avalonia. Not sure if that is a problem with the messagebox.avalonia nuget package or related to the changes in Avalonia

danwalmsley commented 1 year ago

@vb2ae its because messagebox.avalonia havent yet updated to a compatible version. When I get preview7 out they will update and it will just work again.

KasperSK commented 1 year ago

What is the reason for the Features.Avalonia project not using the shared project for ViewModels? Is the point of that solution not to showcase that way of sharing ViewModels?

vb2ae commented 1 year ago

@KasperSK it is easier to debug. Looking at an issue with guard methods still.

Mrxx99 commented 6 months ago

Is there still something missing on this?