Skip to content

Integrate C# compiler warnings and errors (MSBuild) into the report parsing framework #899

@felarmouche

Description

@felarmouche

Summary

The C# compiler (via MSBuild) produces detailed warnings and errors that are currently not visualized in Code Cities.
This sub-issue aims to parse MSBuild compiler output and integrate the resulting findings into the existing static analysis report parsing framework.

Input

The compiler output is generated using the following MSBuild command:
"c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild"
SEE.csproj /t:Build /fl /flp:logfile=errors.log;errorsonly;warningsonly

The resulting errors.log file contains entries following this pattern:

Path(Line,Column): Message

Example:

C:\Users\koschke\develop\SEE\Library\PackageCache\com.unity.render-pipelines.core@05f02f04fe74\Editor\RenderGraph\RenderGraphViewer.cs(234,34):
warning CS0649: Field 'RenderGraphViewer.PassElementInfo.rightGridLine' is never assigned to, and will always have its default value null

The full errors.log file is attached to this issue:

errors.log

Metadata

Metadata

Assignees

Labels

bachelorprojectSomething applicable to the bachelor project, e.g. its report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions