ReSharper 2026.3 Help

NAnt 中的代码检查

在 NAnt 中,ReSharper 2026.3 提供了 8 项 专有代码检查 ,您可以 禁用其中的任何一项或更改其 严重性级别。
These code inspections help you detect code issues at design time in all open files, and additionally they allow you to find code issues in specific scope.

可配置的 NAnt 检查列在下方,并按其 类别分组。

潜在的代码质量问题(8 项检查)

此类别包括检测关键问题(代码异味)的检查,主要具有 错误 或 警告 级别。 此类别还包括 确保本地化支持的检查。

检查
ID
EditorConfig 属性

默认严重性

无效的属性值
InvalidAttributeValue
resharper_invalid_attribute_value_highlighting

警告

无效的任务元素
InvalidTaskElement
resharper_invalid_task_element_highlighting

已禁用

缺少必需的属性
MissingAttribute
resharper_missing_attribute_highlighting

警告

未知的属性
UnknownProperty
resharper_unknown_property_highlighting

已禁用

未知的目标
UnknownTarget
resharper_unknown_target_highlighting

建议

未知的任务
UnknownTask
resharper_unknown_task_highlighting

警告

未知的任务属性
UnknownTaskAttribute
resharper_unknown_task_attribute_highlighting

建议

未知任务程序集
TasksNotLoaded
resharper_tasks_not_loaded_highlighting

警告

2026年 11月 6日