[BuildCheck] EvaluationAnalysisScope configured in .editorconfig doesn't work properly #10448
Labels
Area: BuildCheck
Feature Request
Priority:1
Work that is critical for the release, but we could probably ship without
triaged
BCTest_Repro.zip has a solution with library projects, custom props and targets file in TestImport folder, as well as .editorconfig. Binary log is also included in the zip file.
To reproduce, execute the steps below:
set Test=true
dotnet <msbuild repo root>\artifacts\bin\bootstrap\net8.0\MSBuild\MSBuild.dll BCTest_Repro.sln -analyze -restore -bl
.Test
. Because ofbuild_check.BC0103.scope=project
configured in .editorconfig, BC0103 should not be triggered. Actual result is it's triggered and even applied to SDK imports.build_check.BC0102.scope=project
configured in .editorconfig, BC0102 should not be triggered. Actual result is it's triggered for the imported target.It looks like BuildCheck doesn't respect EvaluationAnalysisScope documentation.
The text was updated successfully, but these errors were encountered: