diff --git a/Lombiq.Tests.UI.Samples/Lombiq.Tests.UI.Samples.csproj b/Lombiq.Tests.UI.Samples/Lombiq.Tests.UI.Samples.csproj
index e03abda3b..9f3b8b9a1 100644
--- a/Lombiq.Tests.UI.Samples/Lombiq.Tests.UI.Samples.csproj
+++ b/Lombiq.Tests.UI.Samples/Lombiq.Tests.UI.Samples.csproj
@@ -23,7 +23,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/Lombiq.Tests.UI/Extensions/ScreenshotUITestContextExtensions.cs b/Lombiq.Tests.UI/Extensions/ScreenshotUITestContextExtensions.cs
index 77adc3298..b448e76a9 100644
--- a/Lombiq.Tests.UI/Extensions/ScreenshotUITestContextExtensions.cs
+++ b/Lombiq.Tests.UI/Extensions/ScreenshotUITestContextExtensions.cs
@@ -144,7 +144,7 @@ public static Image TakeElementScreenshot(this UITestContext context, IWebElemen
public static Image TakeElementScreenshot(this UITestContext context, By elementSelector) =>
context.TakeElementScreenshot(context.Get(elementSelector));
- private static string AsDimensions(IImageInfo image) =>
+ private static string AsDimensions(Image image) =>
$"{image.Width.ToTechnicalString()} x {image.Height.ToTechnicalString()}";
private static string AsDimensions(Size size) =>
diff --git a/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj b/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj
index 92b446477..ec3ffc057 100644
--- a/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj
+++ b/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj
@@ -51,25 +51,25 @@
-
-
-
+
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+