Bug Report T1180715
Visible to All Users

Build Output Highlighting does not correctly color output messages generated by setup projects (msi)

created 2 years ago

Code Rush Visual Studio extension version 23.1.3

With Build Output Highlighting enabled, lines beginning with the text "ERROR:" do not get colored in the output.

With Build Output Highlighting enabled or disabled, lines beginning with the text "WARNING:" always get colored. I have to disable the Code Rush extension to get the coloring to go away on these lines.

I need to disable the output coloring so I can use a different extension to handle it, but this is impossible without disabling Code Rush completely. Something like VS Color Output would work, except Code Rush will fight with it over coloring warnings. https://marketplace.visualstudio.com/items?itemName=MikeWard-AnnArbor.VSColorOutput

Alternatively, I need output lines beginning with "ERROR:" to be colored as errors.

I don't want to disable Code Rush completely, it has a lot of good features in it, but these bugs are making it difficult for me to read/manage the build output window.

Show previous comments (3)

    I've switched to using the vscoloroutput64 extension with Code Rush's color output turned off. That extension works and has options for controlling what gets colored and such. I'm attaching screenshots of what I see with Code Rush. I've disabled the vscoloroutput64 extension for these tests, when I reported the bugs I did not have that extension installed, and the result is still the same.

    Test config:

    Building a setup project (msi installer)

    Variables:
    Code Rush : enabled, disabled
    Code Rush Color Output Option : on, off
    Invalid States : Code Rush disabled + Color Output state

    Results:
    Code Rush disabled = output is not colored.
    Code Rush enabled, Color Output off = Warnings are yellow, Errors are not colored.
    Code Rush enabled, Color Output on = Warnings are yellow, Errors are red.

    I'm working under contract and I don't want to go through the logs to see if there is any information that I shouldn't be leaking. I don't have any other extensions that affect the output window, and disabling Code Rush completely does resolve the issue of the output window having colors applied to it, so having code rush enabled with the color option off should still be able to produce the output that there aren't any colors in the output window. It's weird. Mostly I was bothered that when I enabled the color option the error messages were not colored. I was trying to save time by having the IDE visually indicate things that I should pay attention to, since the output from building Setup projects is very verbose and does not get picked up by the error list in VS 2022. You can close this ticket if you would like, I've spent too much time on this already and you are correct that it seems like vscoloroutput64 isn't bothered by whatever Code Rush output coloring is doing when it is disabled. If something changes for the worse, like if the output window gets borked because of conflicting extensions or something, then I'll have to disable Code Rush while I work on this project, which I don't really want to do.

    Warnings - Code Rush enabled - Code Highlighting on.png Errors - Code Rush disabled.png Errors - Code Rush enabled - Code Highlighting off.png Errors - Code Rush enabled - Code Highlighting on.png Warnings - Code Rush disabled.png Warnings - Code Rush enabled - Code Highlighting off.png

    PW PW
    Przemyslaw Wlodarczak (DevExpress) 2 years ago

      Hi,

      Thank you for the additional information. I was able to reproduce this issue using the setup project. We will fix it soon.

        Thank you! Code Rush is awesome and you're all doing a great job! I'll be happy when I can remove this other extension for coloring output. I don't really know who made that one.

        Answers approved by DevExpress Support

        created 2 years ago

        We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.

        Important Notes:

        • Hotfixes may be unavailable for Early Access/Beta builds or updates set for release within a week.
        • .NET only: in the NuGet Package Manager, use your personal NuGet feed and check the "Include prerelease" option to view the hotfix package in the "Updates" tab.
          Show previous comments (1)
          PW PW
          Przemyslaw Wlodarczak (DevExpress) 2 years ago

            You are welcome!

            Would you mind if we make this ticket public so that it can be included in the list of fixed issues for the next release?

              Yes, you can make it public.

              PW PW
              Przemyslaw Wlodarczak (DevExpress) 2 years ago

                Thank you

                Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

                Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.