[Monodevelop-patches-list] r2378 - trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Sun Mar 20 14:34:05 EST 2005
Author: jluke
Date: 2005-03-20 14:34:05 -0500 (Sun, 20 Mar 2005)
New Revision: 2378
Modified:
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
Log:
show warning on invalid reference
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs 2005-03-20 08:19:59 UTC (rev 2377)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs 2005-03-20 19:34:05 UTC (rev 2378)
@@ -54,8 +54,11 @@
switch (lib.ReferenceType) {
case ReferenceType.Gac:
string pkg = Runtime.SystemAssemblyService.GetPackageFromFullName (lib.Reference);
- if (pkg.Trim () == String.Empty)
+ if (pkg.Trim () == String.Empty) {
+ string msg = String.Format (GettextCatalog.GetString ("{0} could not be found or is invalid."), lib.Reference);
+ Runtime.MessageService.ShowWarning (msg);
continue;
+ }
if (pkg == "MONO-SYSTEM") {
writer.WriteLine ("\"/r:" + Path.GetFileName (fileName) + "\"");
} else if (!pkg_references.Contains (pkg)) {
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog 2005-03-20 08:19:59 UTC (rev 2377)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog 2005-03-20 19:34:05 UTC (rev 2378)
@@ -1,3 +1,8 @@
+2005-03-20 John Luke <john.luke at gmail.com>
+
+ * CSharpBindingCompilerManager.cs: display warning on invalid
+ reference lookup, partial fix for bug #70645
+
2005-03-07 Lluis Sanchez Gual <lluis at novell.com>
* Parser/Resolver.cs: Track api changes.
More information about the Monodevelop-patches-list
mailing list