How can I use net40 packages from NuGet when project's target framework is set to net45?

400 views Asked by At

I have a web app with a few NuGet packages. The web project targets .net 4.5. Now, one package is behaving strange. I get to download it from the official repository, but it's just not added to my bin folder.

I guess the reason is that the package downloaded contains a .dll under /net40/ folder. Adding it manually works, but NuGet is not picking it up. Is there a way I can setup this to work?

0

There are 0 answers