Steps to integrate SonarQube with TeamCity builds

I am trying to integrated SonarQube with MSBuild on TeamCity, even though the build steps are configured and they do execute but the SonarQube does not scan the .cs files.
do we have a fixed steps to be followed to complete the integration and execution?

Hello and welcome to our community.

We do not own the TeamCity integration. You could check the github repo TeamCity.SonarQubePlugin and the SonarQube Integration TeamCity documentation.

Related topic How to integrate SonarQube with Git and Teamcity