Consider this scenario:
- You have
expansion-deps.projitems
which contains the@(JdkIncludePath)
item group. - You have
expansion.props
which uses@(JdkIncludePath)
to generate a$(_JdkIncludePaths)
property - You have
expansion.projitems
which creates a new@(_HostRuntime)
item group which uses$(JdkIncludePath)
within the%(_HostRuntime.CFlags)
item metadata - You print out
%(_HostRuntime.CFlags)
.
Incredibly, behavior differs between xbuild
, msbuild
in mono 4.6, and msbuild
in mono 4.8.