Error message from "Prepare analysis on SonarQube" Azure DevOps task v5.6.0

Thanks for confirming this assumption @caraujo84 and @pawel.grzywacz . We’ve done tests with machines with .NET Core 2.1, however we might have missed something.

FYI .NET Core 2.1 is not supported by Microsoft since August 2021. We have announced stopping support for it :

However we’ve not put that in practice yet, for now it’s deprecated. In the next months we will stop supporting it, though, so I encourage you to use .NET Core Runtime versions supported by Microsoft: https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core . It’s fine if your projects are still targeting .NET Core 2.1, as long as the runtime is supported (the SDK).

The same for .NET Framework, you should use at least .NET Framework 4.6.2 .NET Framework official support policy