Baseflow / LottieXamarin

Render After Effects animations natively on Android, iOS, MacOS and TvOS for Xamarin
https://baseflow.com
Apache License 2.0
1.21k stars 261 forks source link

Lottie nuget preventing other nugets from upgrading #388

Open softlion opened 1 year ago

softlion commented 1 year ago

🐛 Bug Report

Looks like LottieSharp 1.1.3 uses an obsolete version of DotNetZip which should be upgraded, as it prevent upgrading other microsoft nugets.

Also, LottieSharp 2.x is .net7 only.

@ Installing Azure.Storage.Blobs in Tests finished (0.285 sec)
[Notification][Install] Install failed (project: Tests, package: Azure.Storage.Blobs v12.14.1)
Package restore failed. Rolling back package changes for 'Tests'.
Detected package version outside of dependency constraint: DotNetZip 1.13.7 requires System.Text.Encoding.CodePages (>= 4.5.0 && < 5.0.0) but version System.Text.Encoding.CodePages 6.0.0 was resolved.
Package 'OpenTK 3.0.1 ... ashes 5.0.0 -> Microsoft.AppCenter 5.0.0 -> System.Configuration.ConfigurationManager 6.0.0 -> System.Security.Permissions (>= 6.0.0) 
 Tests -> Xam2 -> Com.Airbnb.Xamarin.Forms.Lottie 4.1.0 -> LottieSharp 1.1.3 -> DotNetZip 1.13.7 -> System.Security.Permissions (>= 4.5.0 && < 5.0.0).

Workaround

Install the latest version of DotNetZip in the project referencing Lottie xamarin nuget.

martijn00 commented 1 year ago

I've started work to support .net6 at least. Can you make a PR to update the missing things?