Skip to content

Don't update the reference file if no changes were detected#13

Merged
olstakh merged 2 commits intomainfrom
users/olstakh/speed-up-incremental-build
Sep 22, 2025
Merged

Don't update the reference file if no changes were detected#13
olstakh merged 2 commits intomainfrom
users/olstakh/speed-up-incremental-build

Conversation

@olstakh
Copy link
Owner

@olstakh olstakh commented Sep 22, 2025

During incremental builds - msbuild task that collects and dumps references into a file always does so, even if no actual content had changed.
Instead - read from the file first (if it's there) and compare the content. Skip writing to the file if contents are the same. Otherwise this will be considered a new file and msbuild will not skip rebuilding

@olstakh olstakh merged commit 9e1ff90 into main Sep 22, 2025
2 checks passed
@olstakh olstakh deleted the users/olstakh/speed-up-incremental-build branch September 22, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant