Skip to content

Conversation

@cdmihai
Copy link
Contributor

@cdmihai cdmihai commented Oct 19, 2021

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
Copy link
Contributor

Forgind commented Oct 25, 2021

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