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

Ref asm bugfixes #2167

Merged
merged 3 commits into from
Jun 7, 2017
Merged

Ref asm bugfixes #2167

merged 3 commits into from
Jun 7, 2017

Conversation

rainersigwald
Copy link
Member

These look like good places to use ref assemblies if present--but we need to track down owners for the various tools here and confirm that they're correct.

@jcouv

@rainersigwald rainersigwald changed the base branch from master to vs15.3 June 5, 2017 19:55
@rainersigwald
Copy link
Member Author

Updated with a fix for #2165 and removal of the UpToDateCheckInputs items (which should be an extremely minor perf boost).

This item is checked only from the static evaluation of the project, not after RAR runs--so there's no point in fiddling with it during execution.
Fixes #2165 by never putting a reference to metadata in the ReferenceAssembly field in the first place, so it's never there to get emplaced in a new item escaped and mangle things downstream.
@rainersigwald
Copy link
Member Author

Per conversation with @AndyGerlicher, we're going to postpone the non-GenerateResources part of this fix until we can confirm that using ref assemblies is correct with tool owners.

The risks are that if it's wrong, we might break all consumers of the winmdexp and lc targets. If we continue with the current state, reference assemblies are less effective in some scenarios. That seems like a good tradeoff at this stage of 15.3.

@rainersigwald rainersigwald changed the title Use ref asms in more places Ref asm bugfixes Jun 5, 2017
@jcouv
Copy link
Member

jcouv commented Jun 6, 2017

Makes sense. Let's keep an open issue?

@rainersigwald
Copy link
Member Author

@jcouv Already had the commit so I just opened #2181 to take the changes that I noticed when inspecting common.targets.

@rainersigwald rainersigwald modified the milestone: MSBuild 15.3 Jun 7, 2017
@rainersigwald rainersigwald merged commit aaae748 into vs15.3 Jun 7, 2017
@rainersigwald rainersigwald deleted the feature/resgen-ref-asm branch June 7, 2017 17:04
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.

4 participants