# Code Smells only getting generated for Dot Net 2015 and framework 4.0 windows application

**URL:** <https://community.sonarsource.com/t/code-smells-only-getting-generated-for-dot-net-2015-and-framework-4-0-windows-application/53526>\
**Category:** SonarQube Server / Community Build\
**Tags:** csharp, dotnet, sonarqube, scanner\
**Created:** [November 22, 2021, 5:46am UTC](https://community.sonarsource.com/t/code-smells-only-getting-generated-for-dot-net-2015-and-framework-4-0-windows-application/53526 "2021-11-22T05:46:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgislrelease](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@kgislrelease](https://community.sonarsource.com/u/kgislrelease)\
**Post date:** [November 22, 2021, 5:46am UTC](https://community.sonarsource.com/t/code-smells-only-getting-generated-for-dot-net-2015-and-framework-4-0-windows-application/53526/1 "2021-11-22T05:46:34Z")

</div>

We tried to build and scan the code for Dot Net 2015 and framework 4.0 which is windows application source code but Bug is not loading and code smell showing few bugs.

SonarQube Version: \* Community Edition \* Version 8.3.1 (build 34397)

---

<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:** [November 25, 2021, 2:41pm UTC](https://community.sonarsource.com/t/code-smells-only-getting-generated-for-dot-net-2015-and-framework-4-0-windows-application/53526/2 "2021-11-25T14:41:24Z")

</div>

Hello and welcome to the community!

Please give us the following version information:

- what is the version of the [Scanner for .NET (MSBuild)](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/) that you are using?
- what version of MSBuild are you using?

And we’ll need the logs:

- please give us the verbose output of the scanner commands (please run `SonarScanner.MSBuild.exe begin /k:“MyProject” /d:sonar.verbose=true` as the begin step, and please attach the output of the `BEGIN` and `END` steps)
- please give the output of running MSBuild in verbose mode (`/v:d`)

Also, please tell us:

- what are the commands you are running to do the analysis?
- are you running all commands from the same folder?

In addition, please see the following guides:

- [Configuring the import of code coverage for .NET](https://community.sonarsource.com/t/9871)
- [Troubleshooting .NET code coverage import](https://community.sonarsource.com/t/37151)
- [Troubleshooting .NET performance problems](https://community.sonarsource.com/t/47279)
- [How .NET projects are considered Prod or Test by the scanner](https://github.com/SonarSource/sonar-scanner-msbuild/wiki/Analysis-of-product-projects-vs.-test-projects)

---

<div class="post-metadata">

**Author:** ![Caba\_Sagi](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/caba_sagi/32/17409_2.png) [@Caba\_Sagi](https://community.sonarsource.com/u/Caba_Sagi)\
**Post date:** [February 24, 2022, 3:07pm UTC](https://community.sonarsource.com/t/code-smells-only-getting-generated-for-dot-net-2015-and-framework-4-0-windows-application/53526/4 "2022-02-24T15:07:59Z")

</div>

Closed on February 24, 2022, 3:07pm UTC


