dotnet / dotnet/msbuild

Target built because of InitialTargets should report it via BuildReason

Open
#6,775 4 comments 0 reactions 1 assignee Claimed by @KirillOsenkov View on GitHub
Area: Logging triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

Currently when a target is built because it was specified in InitialTargets the BuildReason is passed as None on the TargetStartedEventArgs.

We should add a new enum value on BuildReason and pass that.

```xml


```

![image](https://user-images.githubusercontent.com/679326/130287251-b6dbd10c-fe10-4898-8cc1-ace197aec480.png)

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.