MSBuild-Parser ignores optional Subcategory

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hi there,

      as statet in this MSDN blog post a MSBuild-Warning may contain a subcategory, like in this real warning (note the additional word "Hint")

      E:\workspace\project\subdir\file.sub1.sub2.pas(4522): Hint warning H2164: Variable 'lTaskDialog' is declared but never used in 'TDialog.ShowTaskDialog' [E:\workspace\projext\subdir\project.dproj]

      Unfortunately the pre-shipped parser MSBuild does not recognise those kind of warning (or error, info,...)

      The regular expression attached in MSBuild_pattern_subcategory.txt solved that problem for us.

      We are using a custom parser for now, but it might be desirable to change
      the pattern in default MSBuild Parser as the one attached is more close to the default behaviour in msbuild (see blog post).

      Links: MSDN blog post on VisualStudio error Messages

            Assignee:
            Ulli Hafner
            Reporter:
            JAM Software
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: