Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail FUTDC when output ref assembly missing #9558

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented Oct 14, 2024

Fixes #9557

A project's reference assembly output has historically been ignored by its FUTDC. The file cannot be treated as a standard output, as it is not always changed in response to input changes. Treating it as a regular output would therefore lead to overbuild.

This change adds explicit handling for the file, so that if it is removed from disk then the FUTDC consider the project out-of-date, and a build is scheduled.

Microsoft Reviewers: Open in CodeFlow

A project's reference assembly output has historically been ignored by its FUTDC. The file cannot be treated as a standard output, as it is not always changed in response to input changes. Treating it as a regular output would therefore lead to overbuild.

This change adds explicit handling for the file, so that if it is removed from disk then the FUTDC consider the project out-of-date, and a build is scheduled.
@drewnoakes drewnoakes added the Feature-Up-to-date Build up-to-date check that avoids shelling out to MSBuild unless necessary. label Oct 14, 2024
@drewnoakes
Copy link
Member Author

Creating this as a draft PR because I want to take some time to consider the direction here. This was reported by @lifengl on Teams as part of a larger scenario, and I'm not sure that this change is generally helpful in isolation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Up-to-date Build up-to-date check that avoids shelling out to MSBuild unless necessary.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing output reference assembly should flag project as out of date
1 participant