[Monodevelop-patches-list] r1019 - trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Tue Feb 24 16:41:55 EST 2004
Author: pedroas
Date: 2004-02-24 16:41:54 -0500 (Tue, 24 Feb 2004)
New Revision: 1019
Modified:
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs
Log:
Fix: when a project reference was added to a project and tried to add more
those were not being loaded in the dialog
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs 2004-02-24 20:04:54 UTC (rev 1018)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs 2004-02-24 21:41:54 UTC (rev 1019)
@@ -83,7 +83,8 @@
foreach (ProjectReference refInfo in configureProject.ProjectReferences) {
switch (refInfo.ReferenceType) {
case ReferenceType.Assembly:
- AddAssemblyReference (refInfo);
+ case ReferenceType.Project:
+ AddNonGacReference (refInfo);
break;
case ReferenceType.Gac:
AddGacReference (refInfo);
@@ -99,7 +100,7 @@
AddReferenceDialog.ShowAll ();
}
- void AddAssemblyReference (ProjectReference refInfo)
+ void AddNonGacReference (ProjectReference refInfo)
{
refTreeStore.AppendValues (System.IO.Path.GetFileName (refInfo.Reference), refInfo.ReferenceType.ToString (), System.IO.Path.GetFullPath (refInfo.GetReferencedFileName (configureProject)), refInfo);
}
More information about the Monodevelop-patches-list
mailing list