protected virtual string[] GetPlatformsFromProject()
{
string[] platforms = GetPropertiesConditionedOn(ProjectFileConstants.Platform);
if (platforms == null || platforms.Length == 0)
{
return GetDefaultPlatforms();
}
for (int i = 0; i < platforms.Length; i++)
{
platforms[i] = GetPlatformNameFromPlatformProperty(platforms[i]);
}
return platforms;
}