diff --git a/run-tests.ps1 b/run-tests.ps1
index d774f7a61..3218d9d67 100644
--- a/run-tests.ps1
+++ b/run-tests.ps1
@@ -75,6 +75,11 @@ else {
$xunitArgs += " --fx-version 2.0.0"
}
+ if ($targetFramework -eq "netcoreapp2.1") {
+ # There were issues matching the correct installed runtime if we do not specify it explicitly:
+ $xunitArgs += " --fx-version 2.1.0"
+ }
+
if ($is32Bit -eq "True") {
$xunitArgs += " -x86"
}
diff --git a/tests/ImageSharp.Tests/ImageSharp.Tests.csproj b/tests/ImageSharp.Tests/ImageSharp.Tests.csproj
index 7ecf1baca..139df3972 100644
--- a/tests/ImageSharp.Tests/ImageSharp.Tests.csproj
+++ b/tests/ImageSharp.Tests/ImageSharp.Tests.csproj
@@ -9,7 +9,6 @@
SixLabors.ImageSharp.Tests
SixLabors.ImageSharp.Tests
AnyCPU;x64;x86
- true
true
@@ -29,7 +28,6 @@
-