I am trying to provide my library for multiple framework versions of .NET (4.0 is relevant for this question).
My library requires async/await support and therefore the nuget package "Microsoft.Bcl.Async" is required. But i only want to reference it in .NET 4.0 builds, but not in >= .NET 4.5
Are there any easy ways to accomplish this goal?