diff --git a/samples/Sample/Platforms/iOS/Info.plist b/samples/Sample/Platforms/iOS/Info.plist index da1466f..8bf0cc7 100644 --- a/samples/Sample/Platforms/iOS/Info.plist +++ b/samples/Sample/Platforms/iOS/Info.plist @@ -11,7 +11,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 11.0 + 12.2 UIDeviceFamily 1 diff --git a/samples/Sample/Sample.Droid.Nuget.csproj b/samples/Sample/Sample.Droid.Nuget.csproj index 1d493e2..fc91f72 100644 --- a/samples/Sample/Sample.Droid.Nuget.csproj +++ b/samples/Sample/Sample.Droid.Nuget.csproj @@ -31,10 +31,10 @@ Device;Simulator;AnyCPU - + false - + false diff --git a/samples/Sample/Sample.Droid.csproj b/samples/Sample/Sample.Droid.csproj index f2dff4b..ddab074 100644 --- a/samples/Sample/Sample.Droid.csproj +++ b/samples/Sample/Sample.Droid.csproj @@ -30,10 +30,10 @@ Device;Simulator;AnyCPU - + false - + false diff --git a/samples/Sample/Sample.Win.Nuget.csproj b/samples/Sample/Sample.Win.Nuget.csproj index b3e4a0d..73fb21e 100644 --- a/samples/Sample/Sample.Win.Nuget.csproj +++ b/samples/Sample/Sample.Win.Nuget.csproj @@ -30,10 +30,10 @@ Device;Simulator;AnyCPU - + false - + false diff --git a/samples/Sample/Sample.Win.csproj b/samples/Sample/Sample.Win.csproj index 72b09d9..dcfd1ed 100644 --- a/samples/Sample/Sample.Win.csproj +++ b/samples/Sample/Sample.Win.csproj @@ -30,10 +30,10 @@ Device;Simulator;AnyCPU - + false - + false diff --git a/samples/Sample/Sample.csproj b/samples/Sample/Sample.csproj index 98062c3..d81df03 100644 --- a/samples/Sample/Sample.csproj +++ b/samples/Sample/Sample.csproj @@ -1,11 +1,9 @@  - net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst; - $(TargetFrameworks);net8.0-windows10.0.19041.0 - - - Exe + net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst; + $(TargetFrameworks);net9.0-windows10.0.19041.0 + Exe Sample true true @@ -23,20 +21,20 @@ 1.0 1 - 11.0 + 12.2 13.1 21.0 - 10.0.17763.0 - 10.0.17763.0 + 10.0.19041.0 + 10.0.19041.0 6.5 Debug;Release Device;Simulator;AnyCPU - + false - + false @@ -80,8 +78,8 @@ - - + + diff --git a/source/FFImageLoading.Maui/FFImageLoading.Maui.csproj b/source/FFImageLoading.Maui/FFImageLoading.Maui.csproj index e50f029..3b3a753 100644 --- a/source/FFImageLoading.Maui/FFImageLoading.Maui.csproj +++ b/source/FFImageLoading.Maui/FFImageLoading.Maui.csproj @@ -1,10 +1,8 @@  - net7.0;net7.0-android;net7.0-ios;net7.0-maccatalyst;net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst - $(TargetFrameworks);net7.0-windows10.0.19041.0;net8.0-windows10.0.19041.0 - - + net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst;net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst + $(TargetFrameworks);net8.0-windows10.0.19041.;net9.0-windows10.0.19041.0 true true enable @@ -29,7 +27,7 @@ Latest 14.2 - 14.0 + 15.0 21.0 10.0.17763.0 10.0.17763.0 @@ -58,6 +56,6 @@ - + - + \ No newline at end of file diff --git a/source/FFImageLoading.Maui/Foundations/Mock/ImageService.cs b/source/FFImageLoading.Maui/Foundations/Mock/ImageService.cs index 8715924..e6a786e 100644 --- a/source/FFImageLoading.Maui/Foundations/Mock/ImageService.cs +++ b/source/FFImageLoading.Maui/Foundations/Mock/ImageService.cs @@ -35,7 +35,7 @@ public ImageService( { } - public override IMemoryCache MemoryCache => new MockImageCache(); + public override IMemoryCache MemoryCache => MockImageCache.Instance; public static IImageLoaderTask CreateTask(TaskParameter parameters, ITarget target) where TImageView : class { diff --git a/source/FFImageLoading.Maui/Foundations/Mock/PlatformImageLoaderTask.cs b/source/FFImageLoading.Maui/Foundations/Mock/PlatformImageLoaderTask.cs index 85bc679..340036a 100644 --- a/source/FFImageLoading.Maui/Foundations/Mock/PlatformImageLoaderTask.cs +++ b/source/FFImageLoading.Maui/Foundations/Mock/PlatformImageLoaderTask.cs @@ -13,6 +13,7 @@ public class PlatformImageLoaderTask : ImageLoaderTask target, TaskParameter parameters, IImageService imageService) : base(imageService, target, parameters) { + MemoryCache = MockImageCache.Instance; } protected override int DpiToPixels(int size, double scale) diff --git a/source/Tests/FFImageLoading.Tests.csproj b/source/Tests/FFImageLoading.Tests.csproj index 785ae19..fe4826c 100644 --- a/source/Tests/FFImageLoading.Tests.csproj +++ b/source/Tests/FFImageLoading.Tests.csproj @@ -15,15 +15,15 @@ - - runtime; build; native; contentfiles; analyzers; buildtransitive + + runtime; build; native; contentfiles; analyzers; buildtransitive all - runtime; build; native; contentfiles; analyzers; buildtransitive + runtime; build; native; contentfiles; analyzers; buildtransitive all - - + +