in fxcop-agent/src/jetbrains/buildServer/fxcop/agent/FxCopCommandLineBuilder.java [34:51]
public String getExecutablePath() throws RunBuildException {
String fxcopRootRelative;
final String fxcopDetectionMode = myRunParameters.get(FxCopConstants.SETTINGS_DETECTION_MODE);
if(fxcopDetectionMode.equals(FxCopConstants.DETECTION_MODE_AUTO)){
fxcopRootRelative = myBuildParameters.get(FxCopConstants.FXCOP_ROOT_PROPERTY);
myLogger.message("Used autodetected FxCop home directory");
}
else{
fxcopRootRelative = myRunParameters.get(FxCopConstants.SETTINGS_FXCOP_ROOT);
myLogger.message("Used custom FxCop home directory");
}
if (StringUtil.isEmpty(fxcopRootRelative)) {
throw new RunBuildException("FxCop root not specified in build settings");
}
return new File(fxcopRootRelative, FxCopConstants.FXCOPCMD_BINARY).getPath();
}