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

Simpler fix for FUTD check of copy items when building for debug #9133

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

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented Jun 29, 2023

This is an alternative implementation of #9130 that also fixes #9124, but in a slightly cleaner way.

The previous fix is fine, however this is slightly more elegant and avoids raising fake events to make things work.

In the F5 case, the SBM does fire IVsUpdateSolutionEvents.UpdateSolution_Begin before calling the FUTDC, so changing our implementation to use that event means we construct the SolutionBuildContext correctly, even when the SBM calls the FUTDC twice.

Microsoft Reviewers: Open in CodeFlow

The previous fix is fine, however this is slightly more elegant and avoids raising fake events to make things work.

In the F5 case, the SBM does fire `IVsUpdateSolutionEvents.UpdateSolution_Begin` before calling the FUTDC, so changing our implementation to use that event means we construct the `SolutionBuildContext` correctly, even when the SBM calls the FUTDC twice.
@drewnoakes drewnoakes added the Feature-Up-to-date Build up-to-date check that avoids shelling out to MSBuild unless necessary. label Jun 29, 2023
@drewnoakes drewnoakes added this to the 17.7 milestone Jun 29, 2023
@drewnoakes
Copy link
Member Author

Marking as draft. I will publish it once 17.7p3 has been finalized, for inclusion in 17.7p4.

@drewnoakes drewnoakes modified the milestones: 17.7, 17.8 Jul 13, 2023
@drewnoakes drewnoakes removed this from the 17.8 milestone Nov 22, 2023
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.

Fast Up To Date Check fails for files linked from a neighbor project
1 participant