Moved the project for NET 3.5 into a separate folder, as the intermediate directory as shared with the project for NET 4.0, and this could cause to have NET 3.5-specific code in the NET 4.0 binary