Baseflow / Baseflow/LottieXamarin
XF.UWP support failing at version 4.1.0
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 253
- PR merge metrics
- No merged PRs in 30d
Description
## 🔙 Regression
I have a XF.UWP project that shows animations fine in 4.0.11, but does not show anything when I upgrade to 4.1.0.
To investigate I tried to clone both versions and run the provided code examples on my machine.
When i build and run the Example.Forms.UWP project and press a button (navigating to a view with an animation), I get the following exception:
System.TypeLoadException: 'Could not find Windows Runtime type 'Microsoft.Toolkit.Uwp.UI.Lottie.LottieVisualSource'.'
I don't know what's wrong, I might be missing something on my machine.
I manually built /ran the Example.Forms.UWP project, and did not use any scripts.
So because the version that is working for me (4.0.11) is also failing with the same error, I'm not able to find a cause.
### Old (and correct) behavior
### Current behavior
### Reproduction steps
### Configuration
**Version:** 4.1.0
**Platform:**
- [ ] :iphone: iOS
- [ ] :robot: Android
- [ ] :checkered_flag: WPF
- [ x] :earth_americas: UWP
- [ ] :apple: MacOS
- [ ] :tv: tvOS
- [ ] :monkey: Xamarin.Forms
Contributor guide
Research direction
Start by building and running the Example.Forms.UWP project at versions 4.0.11 and 4.1.0, then reproduce the animation navigation that raises the TypeLoadException. Compare the UWP dependencies and runtime availability of Microsoft.Toolkit.Uwp.UI.Lottie.LottieVisualSource between the two versions. Done means the example displays its animation without the missing Windows Runtime type error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100