MSBuilder.WiX.ProjectReferenceMetadata (nuget): Augments the current project with an item named after each project reference, containing the metadata       that would be added as project define constants for WiX. i.e. for a project reference PclProfiles,       WiX will add $(var.PclProfiles.TargetDir), which this target exposes to MSBuild as %(PclProfiles.TargetDir).
Keywords: msbuild|wix