dotnet / dotnet/msbuild

[Bug]: Building inline task invocation succeeded with an error

Open
#10,389 2 comments 1 reaction 0 assignees View on GitHub
backlog bug Priority:3 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Issue Description

Building this project that invokes an inline task got strange behavior. The output log displayed the successful task execution as
an error, while build succeeded with 1 error.
```












```
The build log is:
![image](https://github.com/user-attachments/assets/d990f1e8-c0e7-4ab5-aee6-3ea6f96367c2)

### Steps to Reproduce

Open Developer Command Prompt and use msbuild.exe to build the project.

### Expected Behavior

In the build log task execution is displayed as normal message. Build succeeded without errors.

### Actual Behavior

In the build log task execution is displayed as error. Build succeeded with 1 error.

### Analysis

_No response_

### Versions & Configurations

_No response_

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.