Registry Mirror
Skip to content

Conversation

@cdmihai

@cdmihai cdmihai commented Oct 19, 2021 •

Copy link
Copy Markdown
Contributor

Context

Project cache usage forces all projects to be evaluated on the main node. When a project gets a cache miss, it gets built. When that build gets scheduled on an out of proc node, the project instance gets serialized to that node. Some recent change in msbuild turns on full project instance translation, and a bug in item element translation (incomplete translation) makes the task builder crash with a null pointer for metadata location.

This could also crash for all other VS scenarios that end up triggering full project instance translation.

Changes Made

Added missing translation of match on metadata attribute locations

Testing

Updated incomplete unit test

@Forgind

Forgind commented Oct 25, 2021

Copy link
Copy Markdown
Contributor

Note: Merge, not squash

@Forgind
Forgind changed the base branch from vs17.1 to main October 25, 2021 15:22
@Forgind Forgind added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label Oct 25, 2021
@rokonec
rokonec merged commit 9fa7fe1 into dotnet:main Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants