jazz199
jazz199

Reputation: 961

FxCop analysis failing with MsBuild Sonar Runner

I am trying to scan a .NET code using MsBuild Sonar-Runner plugin from jenkins. The system details are as:

Using default SonarDB so no changes in sonar.properties file.

Error: FxCop must be installed when some of its rules are enabled in the SonarQube quality profile. FxCop is included as part of Visual Studio.

FxCop command is able to be executed from jenkins as well as command line on sonar server, but the MsBuild faisl with this error.

Kindly suggest.

Upvotes: 0

Views: 795

Answers (1)

Ashutosh Angiras
Ashutosh Angiras

Reputation: 51

I think the fault lies in your fxcop configurations .

Running Code Analysis (FxCop 12.0 / 14.0) on build agent without installing Visual Studio 2013 / 2015

this link can help you re-config all the steps required

Upvotes: 0

Related Questions