Steps to reproduce:
- Turn on IDE.Build.Stop on Build Error feature.
Note: The Output Window checkboxes don't seem to affect the outcome of the issue. - Turn on Projects and Solutions.General.Always show Error List if build finishes with errors
Expected results:
Build cancels and the Error List is displayed
Actual results:
Build cancels and remains on Output window.
Hi Christopher,
I have reproduced this behavior and we are researching it. As a workaround I suggest you disable the 'Skip project dependency analysis' option:
https://www.screencast.com/t/mMRexOwuEWF
I tried the workaround of unticking IDE.Build.Stop on Build Error.Skip project dependency analysis. Unfortunately this did not work for me. It continued to show the Output window. Only when I turn off the entire CodeRush feature do i get the Error List, as expected.
Christopher,
Can you please export your VS settings along with CRR settings (the CodeRush\Support\Settings folder) so we can research this situation?
As requested, I've attached the setting attachments.
It seems I can only attach one file at a time.
Hi Christopher,
Thanks for the attached settings. This will help us understand the cause of the problem. We will notify you when we have any results.
I've tested v17.1.9 and am still able to reproduce the original problem. I still see the Output instead of the Error List window.
On further investigation with the new build it seems a CodeRush setting makes the difference whereas before it never showed the Error List on completion.
Unchecking the IDE.Build.Stop On Build Error.Output Window.Activate the Output window option allowed the error list to display.
I would argue this is still not 100% fixed as that option's function should not negate VS's Projects and Solutions.General.Always show Error List if build finishes with errors.
The keyword finishes implies VS's option should apply after CodeRush and show the error list even if IDE.Build.Stop On Build Error.Output Window.Activate the Output window is enabled.
Also, the IDE.Build.Stop On Build Error.Output Window.Activate the Output window seems redundant as VS already has Projects and Solutions.General.Show Output window when build starts.
Christopher,
The current way of extending VS doesn't allow us to control whether our routines will work before or after VS handling. For this reason we need to have a separate 'Activate the Output window' option. In fact, sometimes we saw different behavior even with identical settings, so unchecking 'Activate the Output window' is the only to way to guarantee that the Error List window will be shown if the build fails.