dotnet / dotnet/project-system

Up-to-date check should consider AdditionalDependentFileTimes file creation/deletion

Open
#6,006 4 comments 0 reactions 0 assignees View on GitHub
Feature-Up-to-date Triage-Investigate
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

`AdditionalDependentFileTimes` includes files such as `.editorconfig` and `global.json`. Actually it includes all _potential_ locations that one of these files may exist at. Instances which are present on disk have a valid time stamp. Others have some filesystem-specific 'zero' value (maybe 1900-01-01?).

Changes to the set of paths for which we have a valid time stamp should mark the project dirty.

Unfortunately these files do not guarantee that outputs are updated, so we may end up in a case where a project remains out-of-date until an input actually changes.

[AB#1083953](https://devdiv.visualstudio.com/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_workitems/edit/1083953)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.