I am trying to integrate my C# 4.O and VS2010 projects with SonarQube 5.1.2. As per this SonarQube supports only VS2013+ and Microsoft .NET Framework v4.5.2+.
Any Suggestions or reference link for setting SonarQube for VS2010. I am following C# Plugin .
The document you referenced actually mentions that the support of Visual Studio 2010 has not yet been tested (hence the question mark in its support status). I believe it will work, as the support of MSBuild 4.0 has been tested, and that should be the MSBuild version shipping with VS2010.
Since you tagged your question with [sonar-runner]
, I'd just like to clarify that the only recommended way to analyze .NET projects is through the MSBuild SonarQube Runner, which is a different product than the sonar-runner.
Just follow the steps on https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+MSBuild - you can make things easier by trying to analyze the provided example project first, before trying it on your own projects.
EDIT 2015-09-07
On your build agent, you'll have to install the .NET Framework 4.5.2 or higher for the MSBuild SonarQube Runner to run. However, you can build your project with an MSBuild version as low as 4.0: Analyzing .NET projects in SonarQube from the command line or TFS works with Visual Studio 2010 & higher and MSBuild 4.0 & higher. But SonarLint, the extension for Visual Studio to detect issues as you type in real-time, only works with version 2015 as it is based on the Roslyn technology. SonarQube and SonarLint VS and 2 separate and independent products, which have different requirements.
MSBuild.SonarQube.Runner.exe begin /k:SQ_project_key /n:SQ_project_name /v:SQ_project_version
this will require the .NET Framework 4.5.2msbuild
You can invoke MSBuild 4.0, 12 or 14 hereMSBuild.SonarQube.Runner.exe end
this will again require the .NET Framework 4.5.2 to be installed