dotnet / msbuild

The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.

Home Page:https://docs.microsoft.com/visualstudio/msbuild/msbuild

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug][BuildCheck]: Build succeedes with MSBUILDNOINPROCNODE enabled

f-alizada opened this issue · comments

Issue Description

While building with buildcheck enabled and MSBUILDNOINPROCNODE=1
Severity of the rule set to Error, does not reported to the all build:
image

Steps to Reproduce

Set the default Severity SharedOutputPathAnalyzer to error.
Repro projects could be found here:

public void SampleAnalyzerIntegrationTest(bool buildInOutOfProcessNode, bool analysisRequested)

Expected Behavior

Build to fail if the severity set to Error

Actual Behavior

Errors are logged,
But the build is green.