Code Inspections in MSBuild
In MSBuild, ReSharper 2021.2 provides 11 proprietary code inspections, any of which you can disable or change its severity level.
These code inspections help you detect code issues in design time in all open files, and additionally they allow you to find code issues in specific scope.
Configurable MSBuild inspections are listed below, grouped by their categories.
Potential Code Quality Issues (11 inspections)This category includes inspections that detect critical issues (code smells), mostly with Error or Warning level. This category also includes inspections that ensure localization assistance.
|Missing required attribute ||Warning|
|Multiple output tags defined ||Warning|
|Output tag required ||Warning|
|Unknown item group ||Warning|
|Unknown metadata ||Warning|
|Unknown output parameter ||Warning|
|Unknown property ||Warning|
|Unknown target ||Warning|
|Unknown task ||Warning|
|Unknown task attribute ||Warning|
|Wrong metadata use ||Disabled|