I've created a simple nuget package containing one assembly that is located under lib\net40.
If I unzip the nuget package I can verify that the assembly is indeed present under lib\net40.
Now, when I install this package in my .net project using the Visual Studio Nuget UI, the assembly gets unpacked in the wrong folder. It is not unpacked under packages\my_package\lib\net40 as I would expect, but under packages\my_package\lib\net20.
The assembly is a .net-2.0 library, so you could argue that my Nuget package is wrong, but is this intended&documented behavior, or what else can be the reason that the assembly is not unpacked under net40 as I would expect?