Skip to content

Invalidate generated source cache on MSBuild task updates by @Evangelink in #10082 (backport to rel/4.3) - #10111

Merged
Amaury Levé (Evangelink) merged 2 commits into
microsoft:rel/4.3from
nohwnd-bot:backport/10082/to/rel/4.3
Jul 21, 2026
Merged

Invalidate generated source cache on MSBuild task updates by @Evangelink in #10082 (backport to rel/4.3)#10111
Amaury Levé (Evangelink) merged 2 commits into
microsoft:rel/4.3from
nohwnd-bot:backport/10082/to/rel/4.3

Conversation

@nohwnd-bot

Copy link
Copy Markdown
Contributor

Backport of #10082 to rel/4.3

/cc Amaury Levé (@Evangelink)

Include the MSBuild task assembly content hash in both generated-source cache keys so package updates regenerate stale entry point and extension files.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 16fa9e8a-ead7-4ccd-b30e-12b4c96dfd43
Evaluate source-generation flags before guarding file hashing, and keep each generator's calculation path independent. Cover self-registration-only task updates.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 16fa9e8a-ead7-4ccd-b30e-12b4c96dfd43
@Evangelink
Amaury Levé (Evangelink) enabled auto-merge (squash) July 21, 2026 13:05
@Evangelink
Amaury Levé (Evangelink) merged commit 4e8763b into microsoft:rel/4.3 Jul 21, 2026
11 checks passed
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.

2 participants