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
My steps:
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.
This issue occurs on a Windows x64 machine.
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.
Original Comments
Feedback Bot on 11/11/2024, 05:33 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
This issue has been moved from a ticket on Developer Community.
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
My steps: 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.
This issue occurs on a Windows x64 machine.
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.
Original Comments
Feedback Bot on 11/11/2024, 05:33 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.