File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,13 @@ function Start-ScriptAnalyzerBuild
308308 " $projectRoot \Rules\bin\${buildConfiguration} \${framework} \Microsoft.PowerShell.CrossCompatibility.dll"
309309 )
310310 }
311+ if ($Configuration -eq ' Debug' ) {
312+ $itemsToCopyBinaries += @ (
313+ " $projectRoot \Engine\bin\${buildConfiguration} \${Framework} \Microsoft.Windows.PowerShell.ScriptAnalyzer.pdb" ,
314+ " $projectRoot \Rules\bin\${buildConfiguration} \${Framework} \Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules.pdb"
315+ " $projectRoot \Rules\bin\${buildConfiguration} \${framework} \Microsoft.PowerShell.CrossCompatibility.pdb"
316+ )
317+ }
311318 Publish-File $itemsToCopyBinaries $destinationDirBinaries
312319
313320 $settingsFiles = Get-Childitem " $projectRoot \Engine\Settings" | ForEach-Object - MemberName FullName
You can’t perform that action at this time.
0 commit comments