diff --git a/Emgu.CV.Test/AutoTestModels.cs b/Emgu.CV.Test/AutoTestModels.cs
index c44e62f9a1..e9ee5f9033 100644
--- a/Emgu.CV.Test/AutoTestModels.cs
+++ b/Emgu.CV.Test/AutoTestModels.cs
@@ -73,9 +73,13 @@ public static void DownloadManager_OnDownloadProgressChanged(long? totalBytesToR
else
Trace.WriteLine(String.Format("{0} of {1} bytes downloaded ({2}%)", bytesReceived, totalBytesToReceive, progressPercentage));
}
-
+
#if !TEST_MODELS
+#if VS_TEST
+ [Ignore()]
+#else
[Ignore("Ignore from test run by default.")]
+#endif
#endif
[Test]
public async Task TestWeChatQRCode()
@@ -90,7 +94,11 @@ public async Task TestWeChatQRCode()
}
#if !TEST_MODELS
+#if VS_TEST
+ [Ignore()]
+#else
[Ignore("Ignore from test run by default.")]
+#endif
#endif
[Test]
public async Task TestPedestrianDetector()
@@ -105,7 +113,11 @@ public async Task TestPedestrianDetector()
}
#if !TEST_MODELS
+#if VS_TEST
+ [Ignore()]
+#else
[Ignore("Ignore from test run by default.")]
+#endif
#endif
[Test]
public async Task TestDnnSuperres()
@@ -120,7 +132,11 @@ public async Task TestDnnSuperres()
}
#if !TEST_MODELS
+#if VS_TEST
+ [Ignore()]
+#else
[Ignore("Ignore from test run by default.")]
+#endif
#endif
[Test]
public async Task TestDnnSSDFaceDetect()
@@ -137,7 +153,11 @@ public async Task TestDnnSSDFaceDetect()
}
#if !TEST_MODELS
+#if VS_TEST
+ [Ignore()]
+#else
[Ignore("Ignore from test run by default.")]
+#endif
#endif
[Test]
public async Task TestMACE()
diff --git a/Emgu.CV.Test/AutoTestOcr.cs b/Emgu.CV.Test/AutoTestOcr.cs
index b0f16ef2bd..521c1170e2 100644
--- a/Emgu.CV.Test/AutoTestOcr.cs
+++ b/Emgu.CV.Test/AutoTestOcr.cs
@@ -36,7 +36,11 @@ namespace Emgu.CV.Test
public class AutoTestOcr
{
#if !TEST_MODELS
+#if VS_TEST
+ [Ignore()]
+#else
[Ignore("Ignore from test run by default.")]
+#endif
#endif
[Test]
public async Task TestOCREngGrayText()
@@ -97,7 +101,11 @@ public async Task TestOCREngGrayText()
}
#if !TEST_MODELS
+#if VS_TEST
+ [Ignore()]
+#else
[Ignore("Ignore from test run by default.")]
+#endif
#endif
[Test]
public async Task TestOCRBgrText()
@@ -123,7 +131,11 @@ public async Task TestOCRBgrText()
}
#if !TEST_MODELS
+#if VS_TEST
+ [Ignore()]
+#else
[Ignore("Ignore from test run by default.")]
+#endif
#endif
[Test]
public async Task TestOCREngBlankPage()
@@ -148,7 +160,11 @@ public async Task TestOCREngBlankPage()
#if !TEST_MODELS
+#if VS_TEST
+ [Ignore()]
+#else
[Ignore("Ignore from test run by default.")]
+#endif
#endif
[Test]
public async Task TestTesseractUnicodePath()
@@ -162,7 +178,11 @@ public async Task TestTesseractUnicodePath()
}
#if !TEST_MODELS
+#if VS_TEST
+ [Ignore()]
+#else
[Ignore("Ignore from test run by default.")]
+#endif
#endif
[Test]
public async Task TestOCREngConstructor()
diff --git a/Emgu.CV.Test/Emgu.CV.Test.NetFramework.csproj b/Emgu.CV.Test/Emgu.CV.Test.NetFramework.csproj
index ce0bca230f..bdd669cc9b 100644
--- a/Emgu.CV.Test/Emgu.CV.Test.NetFramework.csproj
+++ b/Emgu.CV.Test/Emgu.CV.Test.NetFramework.csproj
@@ -90,6 +90,7 @@
+