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

**URL:** <https://community.sonarsource.com/t/error-message-from-prepare-analysis-on-sonarqube-azure-devops-task-v5-6-0/67470>\
**Category:** SonarQube Server / Community Build\
**Tags:** dotnet\
**Created:** [July 5, 2022, 10:28am UTC](https://community.sonarsource.com/t/error-message-from-prepare-analysis-on-sonarqube-azure-devops-task-v5-6-0/67470 "2022-07-05T10:28:59Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Andrei\_Epure](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/andrei_epure/32/77402_2.png) [@Andrei\_Epure](https://community.sonarsource.com/u/Andrei_Epure)\
**Post date:** [July 6, 2022, 5:54pm UTC](https://community.sonarsource.com/t/error-message-from-prepare-analysis-on-sonarqube-azure-devops-task-v5-6-0/67470/16 "2022-07-06T17:54:56Z")

</div>

> [@caraujo84](#):
>
> We are using Microsoft-hosted agents and the solution is using .Net Core 2.2

> [@pawel.grzywacz](#):
>
> As per the second - your assumption is adequate, there is .Net Core 2.1 installed on agents running this particular application builds.

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 :](https://community.sonarsource.com/t/net-runtime-support-for-the-sonarscanner-for-net/54684)

> [@.NET Runtime Support for the SonarScanner for .NET](https://community.sonarsource.com/t/net-runtime-support-for-the-sonarscanner-for-net/54684/1):
>
> .NET Core 2.1 - Microsoft stopped supporting this LTS version in August ‘21. We are a bit late here and to ensure we give some notice we will stop supporting this version of the Scanner at the end of March 2022

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](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](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-framework)

---

_[View the full topic](https://community.sonarsource.com/t/error-message-from-prepare-analysis-on-sonarqube-azure-devops-task-v5-6-0/67470)._
