The unit tests used to run against both net6.0 and netcoreapp3.1 where the latter was used to pick up the netstandard2.0 version of the library.
Now that .NET Core 3.1 has fallen out of support, the only reason to have the netstandard2.0 target is for .NET Framework compatibility. This means that the unit tests should also execute against .NET Framework. To achieve this, replace the old .NET Core 3.1 target with .NET Framework 4.8 (aka net48) to run the netstandard2.0 target tests.
The unit tests used to run against both
net6.0
andnetcoreapp3.1
where the latter was used to pick up thenetstandard2.0
version of the library.Now that .NET Core 3.1 has fallen out of support, the only reason to have the
netstandard2.0
target is for .NET Framework compatibility. This means that the unit tests should also execute against .NET Framework. To achieve this, replace the old .NET Core 3.1 target with .NET Framework 4.8 (akanet48
) to run thenetstandard2.0
target tests.