BuildCheck rule list
This article applies to: ✔️ .NET 9 SDK and later versions
The following list includes all build-check warnings that you might get from the .NET SDK.
Rule | Default Severity | Message |
---|---|---|
BC0101 | Warning | Two projects should not share their OutputPath or IntermediateOutputPath locations. |
BC0102 | Warning | Two tasks should not write the same file. |
BC0103 | Suggestion | Environment variables should not be used as a value source for the properties. |
BC0201 | Warning | A property that is accessed should be declared first. |
BC0202 | Warning | A property should be declared before it is first used. |
BC0203 | None | A property that is not used should not be declared. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.