For complicated reasons involving historical projects, we have a core project that is shared across many products. The issue is that we can't migrate the project to 4.5 because we have some products that must work on Windows XP. Is there any workaround so that I can reference a .NET 4.5 dll from that .NET 4.0 project?
I realize that we could branch the project, one for each .NET version, but that introduces a lot of maintenance overhead....
Any help would be great!
EDIT - To be clear, we would like it to reference a .NET 4.5 dll, but any of our products that run on Windows XP wouldn't execute anything from it, only our newer products would utilize its features.