-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
Multitargeting supporting SDKs MUST implement the following properties and semantics:
- InnerBuildProperty. It contains the property name that defines the multitargeting build dimension.
- InnerBuildPropertyValues. It contains the property name that holds the possible values for the InnerBuildProperty.
The logic that reads those properties and by that identifies if a build is an outer- or innerbuild lives can be found here: https://github.com/microsoft/msbuild/blob/master/src/Build/Graph/ProjectInterpretation.cs#L118-L119.
https://github.com/dotnet/runtime/blob/master/src/coreclr/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.Common.targets is missing the import of Microsoft.Managed.Before.targets and Microsoft.Managed.After.targets which define the multitargeting properties: https://github.com/microsoft/msbuild/blob/master/src/Tasks/Microsoft.Managed.After.targets#L18-L19.
As we unfortunately don't consume the Sdk.IL live, this can't be fixed and consumed via a single PR.