Skip to content

Conversation

@ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Mar 26, 2020

If Microsoft.Managed targets aren't imported, multitargeting is broken as the required InnerBuildProperty and InnerBuildPropertyValues properties aren't defined. Those properties are read by the Graph APIs to identify if a build is an outer or inner build and multiplexes on them.

This mimics what the CSharp target does: https://github.com/microsoft/msbuild/blob/2d82e1a861d890fce68c8e2d42b569e5bbaf5687/src/Tasks/Microsoft.CSharp.targets#L159-L163

Fixes #34123
Unblocks #33553

🗡 This took me 4h to root cause 🗡

If Microsoft.Managed targets aren't imported, multitargeting is broken as the required `InnerBuildProperty` and `InnerBuildPropertyValues` properties aren't defined. Those properties are read by the Graph APIs to identify if a build is an outer or inner build and multiplexes on them.

Fixes #34123
@ViktorHofer
Copy link
Member Author

Merging as this change isn't exercised in CI and to be able to consume the package in the blocked PR.

@ViktorHofer ViktorHofer merged commit 3b719ca into master Mar 26, 2020
@ViktorHofer ViktorHofer deleted the ViktorHofer-ilsdk branch March 26, 2020 13:55
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sdk.IL doesn't import Microsoft.Managed.props/targets which breaks multitargeting

4 participants