Excluding Platforms with Packages file

Topics: General
Dec 10, 2014 at 2:29 AM
Edited Dec 10, 2014 at 2:32 AM
The specification for http://docs.nuget.org/docs/Reference/Versioning does not allow for the specification of only the packages you want.

Would it be useful to the community to have a way to exclude folders from the LIB directory?

For instance, my project is targeting net40, so I want to exclude these libraries.
net45, portable-net40+sl5+win8+wp8, portable-net45+winrt45+wp8+wpa81, portable-win81+wpa81, portable-windows8+net45+wp8, sl5, windows8, windowsphone71, windowsphone8

I'm thinking something like : <dependency id="ExamplePackage" version="1.3.2" include="net40" />

Including multiple platforms would be <dependency id="ExamplePackage" version="1.3.2" include="net40,net45,windows8" />