Many library packages overlap with assemblies we include in our framework packages.
In the first release we handled this by preventing the library package from applying any
assets.
This becomes problematic if the reference assembly needs to version, and especially
if the library wants to add API. The new version will be greater than what was previously
shipped inbox, and we wouldn't want to restrict the new version just to future TFMs.
To address this problem I've made a couple fixes:
1. For packages which are shipping brand new API that's not present in desktop, we'll
omit any placeholders and allow conflict resolution to decide if the library package
or framework package should be used (based on version). In some cases this required
bringing some configurations into the package so that it could always be "up to date".
2. For packages which are just exposing API in desktop, and thus already tied/anchored
to netstandard versions, we'll freeze the reference assembly version for the non-desktop
builds. This ensures that the reference assembly will never move past the version that's
inbox in the framework package.
Update BuildToolsVersion to 2.0.0-prerelease-01931-01
Commit migrated from https://github.com/dotnet/corefx/commit/7ee51be7ed472a12266c8cc2ab25a9e1862c1d00
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