Uploaded image for project: '[MOVED TO GITHUB] SonarQube Scanner for MSBuild'
  1. [MOVED TO GITHUB] SonarQube Scanner for MSBuild
  2. SONARMSBRU-104

Generated XAML files should automatically be excluded from analysis

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9, 1.0
    • Fix Version/s: 1.0.1
    • Component/s: C#, VB.NET
    • Labels:

      Description

      Projects containing XAML files automatically generate code files on build. Currently these are being analysed. They should be automatically excluded.
      The generated files are named .g.cs/.g.vb and are contained in the obj[debug|release] directory.

      Agreed fix: any files in the obj[configuration] folder should be excluded from analysis, regardless of the file extension.
      This does not need to be user-configurable i.e. it can be done in the targets file.

        Attachments

          Activity

            People

            • Assignee:
              bgavrilms Bogdan Gavril
              Reporter:
              duncanpms Duncan Pocklington
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: