dotnet / dotnet/msbuild

LC Task Can Fail Without Logging An Error

Open
#5,912 6 comments 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Issue Description

Someone reported [here](https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1242223) that the LC task can fail without throwing a warning.

```
Some times, when I rebuild my solution (C#) in Visual Studio Enterprise 2019, the following error is shown:

Severity Code Description Project File Line Suppression State

Error The “LC” task returned false but did not log an error. SBM

Other times, the solution simply builds without a problem.
```

ToolTaskExtension may be able to return false and not log an error. Note that the LC task does not implement its own execute function.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.