|
|
|
|
@ -243,9 +243,12 @@ namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
@@ -243,9 +243,12 @@ namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
|
|
|
|
|
ComboBox targetFrameworkComboBox = ControlDictionary["targetFrameworkComboBox"] as ComboBox; |
|
|
|
|
if (targetFrameworkComboBox != null) { |
|
|
|
|
targetFrameworkComboBox.Enabled = false; |
|
|
|
|
targetFrameworkComboBox.Items.Add(((IUpgradableProject)project).CurrentTargetFramework.DisplayName); |
|
|
|
|
TargetFramework fx = ((IUpgradableProject)project).CurrentTargetFramework; |
|
|
|
|
if (fx != null) { |
|
|
|
|
targetFrameworkComboBox.Items.Add(fx.DisplayName); |
|
|
|
|
targetFrameworkComboBox.SelectedIndex = 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|