My library targets the .NET 4 client framework and I have updated the nuget package to target net40-client. My library also has a .NET 2.0 version.
When user adds a reference from a .NET 4 client project everything works as expected. However, when they has a full .NET 4 project NuGet adds a reference to the .NET 2.0 dll. I would rather full .NET 4 projects used the .NET 4 client dll from the NuGet package.
To work around this issue I have duplicated the dll in the package under with net40-client and net40-full but that seems rather hacky. Is there a better way?