Detect .NET Framework versions