|
179 | 179 | Environment to use for the pipeline |
180 | 180 | .Parameter escapeFromCops |
181 | 181 | If One of the cops causes an error in an app, then show the error, recompile the app without cops and continue |
| 182 | + .Parameter reportSuppressedDiagnostics |
| 183 | + Report diagnostics that are suppressed by #pragma warning disable directives when compiling. |
182 | 184 | .Parameter AppSourceCopMandatoryAffixes |
183 | 185 | Only relevant for AppSource Apps when AppSourceCop is enabled. This needs to be an array (or a string with comma separated list) of affixes used in the app. |
184 | 186 | .Parameter AppSourceCopSupportedCountries |
@@ -379,6 +381,7 @@ Param( |
379 | 381 | [string[]] $preProcessorSymbols = @(), |
380 | 382 | [switch] $generatecrossreferences, |
381 | 383 | [switch] $escapeFromCops, |
| 384 | + [switch] $reportSuppressedDiagnostics, |
382 | 385 | [Hashtable] $bcAuthContext, |
383 | 386 | [string] $environment, |
384 | 387 | $AppSourceCopMandatoryAffixes = @(), |
@@ -1041,6 +1044,7 @@ Write-Host -NoNewLine -ForegroundColor Yellow "PackagesFolder " |
1041 | 1044 | Write-Host -NoNewLine -ForegroundColor Yellow "OutputFolder "; Write-Host $outputFolder |
1042 | 1045 | Write-Host -NoNewLine -ForegroundColor Yellow "BuildArtifactFolder "; Write-Host $buildArtifactFolder |
1043 | 1046 | Write-Host -NoNewLine -ForegroundColor Yellow "CreateRuntimePackages "; Write-Host $createRuntimePackages |
| 1047 | +Write-Host -NoNewLine -ForegroundColor Yellow "reportSuppressedDiagnostics "; Write-Host $reportSuppressedDiagnostics |
1044 | 1048 | Write-Host -NoNewLine -ForegroundColor Yellow "AppVersion "; Write-Host $appVersion |
1045 | 1049 | Write-Host -NoNewLine -ForegroundColor Yellow "AppBuild "; Write-Host $appBuild |
1046 | 1050 | Write-Host -NoNewLine -ForegroundColor Yellow "AppRevision "; Write-Host $appRevision |
@@ -2121,6 +2125,7 @@ Write-Host -ForegroundColor Yellow @' |
2121 | 2125 | "updateDependencies" = $UpdateDependencies |
2122 | 2126 | "features" = $features |
2123 | 2127 | "generateErrorLog" = $generateErrorLog |
| 2128 | + "ReportSuppressedDiagnostics" = $reportSuppressedDiagnostics |
2124 | 2129 | } |
2125 | 2130 |
|
2126 | 2131 | if ($buildOutputFile) { |
|
0 commit comments