-
Notifications
You must be signed in to change notification settings - Fork 365
Open
Labels
Description
Describe the bug
After updating Visual Studio through the installer, Microcharts.Maui no longer works on the Windows app. The following exceptions are thrown:
• System.NotSupportedException in WinRT.Runtime.dll
• System.Reflection.TargetInvocationException in System.Private.CoreLib.dll
Which platform and version is this for?
Windows, .NET 8
Microcharts 1.0.0
SkiaSharp 2.88.8
To Reproduce
- Create a .NET MAUI project.
- Add the Microcharts.Maui NuGet package.
- Initialize Microcharts.Maui in MauiProgram.cs:
- Add a chart to a page using Microcharts.Maui.
- Run the app on Windows.
- See the exceptions in the output.
Expected behavior
The app should run without exceptions, and the charts should be displayed correctly.
** Device**
This issue occurs on a Windows x64 machine.
Additional information
I tried the following steps to address:
• Verified that all NuGet packages are up to date.
• Created a minimal example to test Microcharts.Maui in isolation, which also failed.
chris-kevafhinn and Nessitro