When a multi-platform package is being installed from the solution-level package management dialog into multiple projects that target different CLRs/Platforms, the package doesn't get installed in all of them using the appropriate platform binaries.
The package gets installed in all target projects using NET40 binaries for .NET Framework 4.0 projects, using SL4 binaries for Silverlight 4 projects, etc etc.
Steps to reproduce:
- Create a blank solution and add 2 projects: 1 targets NET40, the other targets SL5.
- On the solution level, install the following package in both projects: Microsoft.CompilerServices.AsyncTargetingPack
- Notice how it gets installed into the NET40 project, but not in the SL50 project
Note: the package itself looks fine and has binaries for NET40, NET45 and SL50 platforms. When targeting NET40 and SL50 project independently, it installs fine.