Author: mhutch
Date: 2007-11-21 23:41:26 -0500 (Wed, 21 Nov 2007)
New Revision: 90124
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs
Log:
* MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs:
Add support for 2.1 runtime, and explicitly name the runtime
versions.
Modified: trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
2007-11-22 04:39:17 UTC (rev 90123)
+++ trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
2007-11-22 04:41:26 UTC (rev 90124)
@@ -1,3 +1,8 @@
+2007-11-22 Michael Hutchinson <[EMAIL PROTECTED]>
+
+ * MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs:
Add
+ support for 2.1 runtime, and explicitly name the runtime versions.
+
2007-11-21 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* MonoDevelop.Projects.Gui.mdp, Makefile.am,
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs
2007-11-22 04:39:17 UTC (rev 90123)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs
2007-11-22 04:41:26 UTC (rev 90124)
@@ -72,7 +72,20 @@
foreach (ClrVersion ver in
Runtime.SystemAssemblyService.GetSupportedClrVersions ()) {
if (Array.IndexOf (langSupported, ver)
== -1)
continue;
- string desc = ver.ToString().Substring
(4).Replace ('_','.');
+ string desc;
+ switch (ver) {
+ case ClrVersion.Net_1_1:
+ desc = "Mono/.NET 1.1 Profile";
+ break;
+ case ClrVersion.Net_2_0:
+ desc = "Mono/.NET 2.0 Profile";
+ break;
+ case ClrVersion.Clr_2_1:
+ desc = "Moonlight/Silverlight
1.1";
+ break;
+ default:
+ throw new Exception ("Unknown
ClrVersion '" + ver.ToString () + "'");
+ }
runtimeVersionCombo.AppendText (desc);
if (project.ClrVersion == ver)
runtimeVersionCombo.Active =
supportedVersions.Count;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches