void OnWizardUpdate() { string strTarget = System.Enum.GetName(typeof(BuildTarget), Target); if (strTarget == null || strTarget == "") { return; } List <string> list = VersionManager.GetAllVersion(Target); strHistoryVer = new string[list.Count]; int index = 0; foreach (string str in list) { strHistoryVer[index++] = str; } }