-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In .NET Maui Windows (Which wraps WinUI 3 basically), the library cannot be consumed because of the .Send in the events.
To Reproduce
Create a new .NET MAUI app. Try to capture a piece in the code. See an exception.
System.NotSupportedException: 'The send method is not supported, use Post instead.'
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.Send(SendOrPostCallback d, Object state)
at Chess.ChessBoard.OnCapturedEvent(Piece piece)
at Chess.ChessBoard.Move(Move move)
at Chess.MainPage.OnSquareTapped(
Expected behaviour
Capturing a piece
Screenshots
My repo is public so you can just pull this down:
https://github.com/[edgiardina/Chess](https://github.com/edgiardina/Chess)
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working