dotnet / dotnet/msbuild

IEventSource3.IncludeTaskInputs does not work?

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

Description

When I set the "BuildParameters.LogTaskInputs", I get the TaskInput-Events... (doesn't matter if I'm calling IEventSource3.IncludeTaskInputs" or not).

On the other side, when I don't set "BuildParameters.LogTaskInputs", I don't get the TaskInput-Events (also not after calling IEventSource3.IncludeTaskInputs).

I'm calling IncludeTaskInputs from my Initialize-function of my logger. And I'm currently using the MSBuild version that shipped with the latest VS 2019.

My question is, if that's supposed to work like this. Because in the case it is, I don't understand the idea behind this function.

_Originally posted by @meirumeiru in https://github.com/dotnet/msbuild/discussions/8248#discussioncomment-4431354_

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.