There isn't one at the current moment but there is some work in progress: https://github.com/dotnet/msbuild/blob/main/documentation/specs/proposed/BuildCheck.md The plan of release is in .net 9: https://github.com/dotnet/msbuild/blob/main/documentation/specs/proposed/BuildCheck.md#configuration
Activity
jsturtevant commentedon Mar 8, 2025
docs moved to https://github.com/dotnet/msbuild/blob/main/documentation/specs/BuildCheck/BuildCheck.md
jsturtevant commentedon Mar 8, 2025
can be invoked with
dotnet msbuild -checkCurrently there are 36 issues, mostly in the test projects. I haven't dug into the issues to see if they are valid
Build succeeded with 36 warning(s) in 45.0s