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

Import Microsoft.Managed targets in Sdk.IL #34124

Merged
merged 1 commit into from
Mar 26, 2020
Merged

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
3 participants