dotnet test on Azure Devops has .NET 8 and requires .NET 6 and crashes?
I'm getting the following logs when attempting to run .NET tests:
.NET 8 is installed using
and I'm running tests using
4 Replies
For context, the .runsettings file is:
Not sure why this exists, but this does not mention any .NET version
I'm going to try with:
Did you specify 6.0 in the csproj file?
Yes
To my knowledge, if you install .NET 8, it installs .NET 6 too, right?
It’s usually downwards compatible yeah
But I also had some cases in the past where stuff was weird and where I had to install the explicit version of .NET