dotnet / dotnet/msbuild

Log when resetting caches during `-restore` build

Open
#8,529 0 comments 1 reaction 0 assignees View on GitHub
Area: Logging backlog Priority:3 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 6h
Merged PRs (30d)
139

Description

When using `-restore`, MSBuild has special logic to ensure that the "real" build following restore pulls in the latest XML content from disk, rather than the possibly-stale content from before restore ran.

https://github.com/dotnet/msbuild/blob/47a712160eb420136ec983be5e0f412dc1c25b55/src/MSBuild/XMake.cs#L1608

The act of clearing the caches should emit a log entry, so it's observable.

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.