LottieXamarin icon indicating copy to clipboard operation
LottieXamarin copied to clipboard

Lottie nuget preventing other nugets from upgrading

Open softlion opened this issue 1 year ago • 1 comments

🐛 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.

softlion avatar Nov 28 '22 14:11 softlion