Sonar core version: 4.5.7
C# plugin version 5.2
SonarQube Scanner for MSBuild v2.0
We are using Sonarqube scanner for Msbuild in Jenkins to publish Sonarqube dashboards. For this setup, is there any way to automatically pass assembly version to sonar dashboard without hard-coding project version value in the Jenkins build configuration.
(in case of Java this value is picked automatically from pom files but for dotnet application this is a mandatory field under SonarQube Scanner for MSBuild –begin analysis step. Updating the value manually every time project version changes is the overhead we are trying to avoid