componentize-dotnet icon indicating copy to clipboard operation
componentize-dotnet copied to clipboard

Add linter for msbuild scripts

Open jsturtevant opened this issue 1 year ago • 2 comments

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

jsturtevant avatar Jun 06 '24 17:06 jsturtevant

docs moved to https://github.com/dotnet/msbuild/blob/main/documentation/specs/BuildCheck/BuildCheck.md

jsturtevant avatar Mar 08 '25 00:03 jsturtevant

can be invoked with dotnet msbuild -check

Currently 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

jsturtevant avatar Mar 08 '25 00:03 jsturtevant