Skip to content

Fast Up To Date Check fails for files linked from a neighbor project #9124

@gleblebedev

Description

@gleblebedev

Visual Studio Version

17.6.3

Summary

Build system ignores changes in files when they referenced from multiple projects. Setting DisableFastUpToDateCheck to true mitigates the issue.

Steps to Reproduce

  1. Download attached sample project.
  2. Run both projects. Observe output value.
  3. Change text file in the first project. Run both projects.

Expected Behavior

The output should change too

Actual Behavior

The output prints original text file content

User Impact

Users have to clean or rebuild the project every time a content file changed.

https://cdn.discordapp.com/attachments/732310858776182866/1122298127647506432/bug.mp4
MSBuildBufRepro.zip

Metadata

Metadata

Assignees

Labels

Feature-Up-to-dateBuild up-to-date check that avoids shelling out to MSBuild unless necessary.RegressionRegressions from a previous (typically public) build or release.Resolution-FixedThe bug has been fixed, refer to the milestone to see in which release it was fixed.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions