Closed Janausch closed 1 year ago
I have found a somewhat similar behavoir here: https://stackoverflow.com/questions/60033916/getting-an-error-trying-to-use-system-namespace-in-xaml
I then changed the CalenderView.xaml and DaysView.xaml to use
xmlns:System="clr-namespace:System;assembly=System.Runtime"
instead of
xmlns:System="clr-namespace:System;assembly=mscorlib"
and it seems to fix the issue.
I am not sure what's the differents between the two assemblies and if it causes any other problems.
Will release a new version with the fix (#115) by the end of the week, nice job.
Describe the bug I am having a strange bug where the App crashes when I open the view with the calendar in it. The behavior only occured when I build the app on Android in release mode. In Debug mode and on windows I didn't had that bug. I don't know what caused this issue but the app worked fine with the last nuget and VS version.
Expected behavior The Calendar shows up like in Debug Mode or on windows.
Steps to reproduce OR link to code That's the tricky part. I tried the build with the sample apps in your repo and couldn't reproduce it. Your sample apps work fine.
Xamarin Forms or .NET MAUI (If related to UI) .Net MAUI with .NET Core 7 in Visual Studio 2022 v17.5.1
Device Info (Optional) Device Model: Pixel 5 Emulator and Nokia X20 Android Version: 13 Windows Version: 19045.2604
Systemlog