I've run my binclash logger on the packaging build and identified all
the problems that result in multiple builds evaluations producing the
same output.
In some cases this was due to global properties from traversal leaking
into library build. I have fixed these as follows:
Dummy
This property was just being used to trigger batching to run
multiple builds of the same project in a batch. Instead of
triggering batching by defining this in the properties, which
has side effects, I used the %(Identity) in a condition that would
always evaluate to true, which has no side effects.
DefaultBuildAllTarget
Similar to FilterToOSGroup this only applies for traversal projects
so I undefine it when building a non-traversal project.
PackageTargetFramework
We were using this property to package the output of the library
twice in different paths. Rather than doing this from the package
project I just have the library project declare that it should be
packaged twice.
[tfs-changeset: 1573841]
Commit migrated from https://github.com/dotnet/corefx/commit/2acd2fdb944fc19f01b014666b82b97ea6226e1e