Open softlion opened 1 year ago
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).
Install the latest version of DotNetZip in the project referencing Lottie xamarin nuget.
I've started work to support .net6 at least. Can you make a PR to update the missing things?
🐛 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.
Workaround
Install the latest version of DotNetZip in the project referencing Lottie xamarin nuget.