I have a project with few dlls. I would like to change one of them to framework 4.0, but not the other ones. The result will be that a framework 2.0 dll is using a framework 4.0 dll. Is that ok, or problematic?
Thanks.
I have a project with few dlls. I would like to change one of them to framework 4.0, but not the other ones. The result will be that a framework 2.0 dll is using a framework 4.0 dll. Is that ok, or problematic?
Thanks.
No - a project which targets .NET 2 can't refer to a library targeting .NET 4. Imagine you tried to deploy it on a machine which only supported .NET 2 - you couldn't actually use your .NET 2 assembly anyway, so what's the point of making it target .NET 2 in the first place?
It makes sense to target a .NET 2 library from a .NET 4 project, but not the other way round.