diff --git a/Directory.Build.props b/Directory.Build.props
index c651e8d..ebc7795 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -17,8 +17,8 @@
https://github.com/managedcode/EnvironmentDetector
https://github.com/managedcode/EnvironmentDetector
Managed Code - EnvironmentDetector
- 1.0.5
- 1.0.5
+ 1.0.8
+ 1.0.8
diff --git a/ManagedCode.EnvironmentDetector/ManagedCode.EnvironmentDetector.csproj b/ManagedCode.EnvironmentDetector/ManagedCode.EnvironmentDetector.csproj
index ac88467..6777f87 100644
--- a/ManagedCode.EnvironmentDetector/ManagedCode.EnvironmentDetector.csproj
+++ b/ManagedCode.EnvironmentDetector/ManagedCode.EnvironmentDetector.csproj
@@ -3,7 +3,7 @@
enable
enable
- net6.0;net7.0;netstandard2.1
+ net6.0;net7.0;netstandard2.1;net8.0
11
@@ -15,7 +15,7 @@
managedcode, Tests, Detector, TestsDetector, unit tests
-
+
diff --git a/ManagedCode.TestsDetector.MSTest/ManagedCode.TestsDetector.MSTest.csproj b/ManagedCode.TestsDetector.MSTest/ManagedCode.TestsDetector.MSTest.csproj
index 3eb0abd..a59e01e 100644
--- a/ManagedCode.TestsDetector.MSTest/ManagedCode.TestsDetector.MSTest.csproj
+++ b/ManagedCode.TestsDetector.MSTest/ManagedCode.TestsDetector.MSTest.csproj
@@ -1,17 +1,17 @@
- net7.0
+ net8.0
enable
enable
false
-
-
-
-
+
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/ManagedCode.TestsDetector.NUnit/ManagedCode.TestsDetector.NUnit.csproj b/ManagedCode.TestsDetector.NUnit/ManagedCode.TestsDetector.NUnit.csproj
index 0be3245..f322af5 100644
--- a/ManagedCode.TestsDetector.NUnit/ManagedCode.TestsDetector.NUnit.csproj
+++ b/ManagedCode.TestsDetector.NUnit/ManagedCode.TestsDetector.NUnit.csproj
@@ -1,17 +1,17 @@
- net7.0
+ net8.0
enable
enable
false
-
-
-
-
+
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/ManagedCode.TestsDetector.NUnit/Tests.cs b/ManagedCode.TestsDetector.NUnit/Tests.cs
index 03fa431..62ce37c 100644
--- a/ManagedCode.TestsDetector.NUnit/Tests.cs
+++ b/ManagedCode.TestsDetector.NUnit/Tests.cs
@@ -1,5 +1,6 @@
using ManagedCode.EnvironmentDetector;
using NUnit.Framework;
+using NUnit.Framework.Legacy;
namespace ManagedCode.TestsDetector.NUnit;
@@ -9,24 +10,24 @@ public class Tests
[Test]
public void TestDetectorTest()
{
- Assert.IsTrue(TestDetector.IsInTest);
+ ClassicAssert.IsTrue(TestDetector.IsInTest);
}
[Test]
public void MSTestDetectorTest()
{
- Assert.IsFalse(MSTestDetector.IsInTest);
+ ClassicAssert.IsFalse(MSTestDetector.IsInTest);
}
[Test]
public void NUnitDetectorTest()
{
- Assert.IsTrue(NUnitDetector.IsInTest);
+ ClassicAssert.IsTrue(NUnitDetector.IsInTest);
}
[Test]
public void XUnitDetectorTest()
{
- Assert.IsFalse(XUnitDetector.IsInTest);
+ ClassicAssert.IsFalse(XUnitDetector.IsInTest);
}
}
\ No newline at end of file
diff --git a/ManagedCode.TestsDetector.XUnit/ManagedCode.TestsDetector.XUnit.csproj b/ManagedCode.TestsDetector.XUnit/ManagedCode.TestsDetector.XUnit.csproj
index ff9d9b1..8d72701 100644
--- a/ManagedCode.TestsDetector.XUnit/ManagedCode.TestsDetector.XUnit.csproj
+++ b/ManagedCode.TestsDetector.XUnit/ManagedCode.TestsDetector.XUnit.csproj
@@ -1,20 +1,20 @@
- net7.0
+ net8.0
enable
enable
false
-
-
-
+
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all