|
|
@ -13,8 +13,16 @@ module.exports = function (params, processor) { |
|
|
|
if (!settings.skipCodeSigning && !params.skipCodeSigning) { |
|
|
|
if (!settings.skipCodeSigning && !params.skipCodeSigning) { |
|
|
|
compileParams.SigningKey = settings.codeSigningKeyFile; |
|
|
|
compileParams.SigningKey = settings.codeSigningKeyFile; |
|
|
|
} |
|
|
|
} |
|
|
|
if (!settings.isCodeAnalysisUnsupported && !params.ignoreCodeAnalysis) { |
|
|
|
if (settings.isCodeAnalysisUnsupported) { |
|
|
|
|
|
|
|
if (params.forceCodeAnalysis) { |
|
|
|
|
|
|
|
processor.onError("Code analysis is not supported"); |
|
|
|
|
|
|
|
processor.done(); |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
if (!settings.ignoreCodeAnalysisByDefault || params.forceCodeAnalysis) { |
|
|
|
compileParams.CodeAnalysisRuleSet = settings.codeAnalysisRuleSet; |
|
|
|
compileParams.CodeAnalysisRuleSet = settings.codeAnalysisRuleSet; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return dotnetbuilderwrapper(compileParams, processor); |
|
|
|
return dotnetbuilderwrapper(compileParams, processor); |
|
|
|
} |
|
|
|
} |
|
|
|