Yes, you can have different versions of the frameworks for different projects within the solution, but if you start linking them together so that their result is used by others, then you need to make sure they are compatible again.
Aside, if you need to create projects in C ++ / CLI for .NET2 with VS2010, you need to manually edit the project file.
source share