You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug in error output caused by closing ScriptAnalysis progress pane #1524
AppVeyor builds fail due to reporting the progress of script analysis, specifically this piece of code. Removing the CORECLR guard results in this error:
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot process the XML from the 'Error' stream of 'C:\projects\powershell\src\powershell-windows\bin\Debug\netcoreapp1.0\win81-x64\publish\powershell.exe': Data at the root level is invalid. Line 1, position 382.
By not calling WriteProgress with a Completed message, we'll leave screen artifacts. See the corresponding call in SriptAnalysis.cs, line 43 - that code is not guarded at all by #if !CORECLR
I don't have a strong preference on this specific progress message, but if progress messages are causing problems in CI, turning them off this way is not the right fix.
changed the title [-]Bug in error output caused by closing [/-][+]Bug in error output caused by closing ScriptAnalysis progress pane[/+]on Jul 26, 2016
Activity
[-]Bug in error output caused by closing [/-][+]Bug in error output caused by closing ScriptAnalysis progress pane[/+]andyleejordan commentedon Aug 1, 2016
I think we can at least for sure say that, with the code enabled, it's writing to the error stream, and the crash is bug #1575.
Don't know why it's writing to the error stream though.
joeyaiello commentedon May 23, 2017
This looks like progress issues that we fixed. Andy Jordan (@andschwa) or James Truher (@JamesWTruher), feel free to reopen if this still relevant.