Skip to content

Don't log RAR task inputs manually when LogTaskInputs is set. - #5017

Merged
Forgind merged 1 commit into
dotnet:masterfrom
KirillOsenkov:fix4956
Jan 14, 2020
Merged

Forgind merged 1 commit into
dotnet:masterfrom
KirillOsenkov:fix4956

Conversation

@KirillOsenkov

Copy link
Copy Markdown
Member

Move the environment variable read to Traits and cache it. Otherwise we would read the environment every time a task is run.

Fixes #4956

From cursory glance there is nothing in the manual LogInputs() method that wouldn't be logged automatically. If we are missing something it's probably nothing substantial.

Move the environment variable read to Traits and cache it. Otherwise we would read the environment every time a task is run.
@rainersigwald rainersigwald added this to the MSBuild 16.6 Preview1 milestone Jan 14, 2020
@Forgind
Forgind merged commit fe2dfdf into dotnet:master Jan 14, 2020
@KirillOsenkov
KirillOsenkov deleted the fix4956 branch January 14, 2020 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RAR is logging all inputs twice under /bl

3 participants