I have made a lot of attempts, but eventually stopped at using Win2D. .NET8 could not use Microsoft.graphics.canvas.winmd 