DanielHWe / sonar-fxcop

FxCop plugin for C# or VB.NET projects
13 stars 6 forks source link

can we define variables in scan properties in command line or SonarQube.Analysis.xml, if so how can we define the same #28

Open pramod84 opened 5 years ago

pramod84 commented 5 years ago

can we define variables in scan properties in command line or SonarQube.Analysis.xml, if so how can we define the same Is it that variables are not supported here.

We are not having much control on csproj or solution as Configuration managers and we cannot request the same as this codes are owned at different sites.

One more thing after downgrading the sonar plugins to sonar-fxcop-plugin-1.1 and sonar-csharp-plugin-5.11.0.1761 with SonarQube 6.7 LTS it works fine. Scanner used SonarQube Scanner for MSBuild 3.0.2 as fxcop support is removed from 4.0 I thing sonar-fxcop plugin handles this in the SonarQube.Scanner.MSBuild.exe end step

Please help me how can i make things with new plugins

Please let me know how can i make this things work with new Sona Originally posted by @pramod84 in https://github.com/DanielHWe/sonar-fxcop/issues/26#issuecomment-468151900

DanielHWe commented 5 years ago

It is a good idear to make it possible to define Path variables in the Properties of Sonar Scanner for MS Build. But in the Moment this is not possible, in the moment I will not make a new version but your are free to make a pull request.