When saving project, detect different profiles based on .NET 4 and above