# .NET MSBUILD SonarQube

**URL:** <https://community.sonarsource.com/t/net-msbuild-sonarqube/41749>\
**Category:** SonarQube Server / Community Build\
**Tags:** sonarqube, dotnet, scanner\
**Created:** [April 15, 2021, 6:20pm UTC](https://community.sonarsource.com/t/net-msbuild-sonarqube/41749 "2021-04-15T18:20:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaron.hernandez](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@aaron.hernandez](https://community.sonarsource.com/u/aaron.hernandez)\
**Post date:** [April 15, 2021, 6:20pm UTC](https://community.sonarsource.com/t/net-msbuild-sonarqube/41749/1 "2021-04-15T18:20:33Z")

</div>

Hi friends!!

Im trying to perform a new scan on a .NET project either VB or C#. Ive done many correct scans on VB local projects but there is a problem when I try to do a new scan on a .NET project.

My Sonarqube version: Community Edition 8.6.1.40680  
The sonarscanner: SonarScanner for MSBuild 5.2

Here is an example of a correct scan

The first step BEGIN – All correct

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/a/7/a7a3868b7389758a5169e934941d89467690d096.png)

The second step – All correct

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/6/0/600826f992ed73b158b958d006dbb41137e11c12.png)

Final step – All correct

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/4/5/459dd140d3b9836ef06098509b244b9fe4af7ac0.png)

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/f/c/fccd76254bdc7022de580e0c29c96849152dff03.png)

And here is what happends whe I perform the same steps using .NET

The first step BEGIN – All correct

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/2/7/278a7519c15a074cb75011a82b780acd5ec3352b.png)

The second step – All correct

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/f/4/f451cf2a8dfaf862c4d5c47266e8be5635ae4069.png)

Final step – Error from SonarScanner.MSBuild.exe

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/d/5/d58133f66994e094a5463c0d12f311d3dfaab6de.png)

I’ve tried to update my MSBuild but there is the same result. Can you help me to do this?

Regards.

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [April 16, 2021, 7:31am UTC](https://community.sonarsource.com/t/net-msbuild-sonarqube/41749/2 "2021-04-16T07:31:33Z")

</div>

Hey Aaaron.

No need to raise the same thread twice.

> [@.NET MSBUILD SonarQube was unable to collect the required information about your projects](https://community.sonarsource.com/t/net-msbuild-sonarqube-was-unable-to-collect-the-required-information-about-your-projects/41607):
>
> Hi friends!! Im trying to perform a new scan on a .NET project either VB or C#. Ive done many correct scans on VB local projects but there is a problem when I try to do a new scan on a .NET project. My Sonarqube version: Community Edition 8.6.1.40680 The sonarscanner: SonarScanner for MSBuild 5.2 Here is an example of a correct scan The first step BEGIN – All correct The second step – All correct Final step – All correct And here is what happends w…

I’ll close this one.

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [April 16, 2021, 7:31am UTC](https://community.sonarsource.com/t/net-msbuild-sonarqube/41749/3 "2021-04-16T07:31:38Z")

</div>


