Author: cjcollier
Date: 2007-04-02 13:28:50 -0400 (Mon, 02 Apr 2007)
New Revision: 75291
Modified:
trunk/monodevelop/ChangeLog
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core/SystemAssemblyService.cs
Log:
2007-03-02T10:26 C.J. Adams-Collier <[EMAIL PROTECTED]>
* Core/src/MonoDevelop.Core/MonoDevelop.Core/SystemAssemblyService.cs:
! ParsePCFile (string pcfile)
- moved check whether pc file has been processed to top of method
Modified: trunk/monodevelop/ChangeLog
===================================================================
--- trunk/monodevelop/ChangeLog 2007-04-02 17:23:51 UTC (rev 75290)
+++ trunk/monodevelop/ChangeLog 2007-04-02 17:28:50 UTC (rev 75291)
@@ -1,3 +1,9 @@
+2007-03-02T10:26 C.J. Adams-Collier <[EMAIL PROTECTED]>
+
+ * Core/src/MonoDevelop.Core/MonoDevelop.Core/SystemAssemblyService.cs:
+ ! ParsePCFile (string pcfile)
+ - moved check whether pc file has been processed to top of method
+
2007-03-17 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* configure.in: Added galician translation.
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core/SystemAssemblyService.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core/SystemAssemblyService.cs
2007-04-02 17:23:51 UTC (rev 75290)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core/SystemAssemblyService.cs
2007-04-02 17:28:50 UTC (rev 75291)
@@ -321,6 +321,11 @@
private void ParsePCFile (string pcfile)
{
+ // Don't register the package twice
+ string pname = Path.GetFileNameWithoutExtension
(pcfile);
+ if (packagesHash.Contains (pname))
+ return;
+
ArrayList fullassemblies = null;
string version = "";
string desc = "";
@@ -350,12 +355,7 @@
if (fullassemblies == null)
return;
-
- // Don't register the package twice
- string pname = Path.GetFileNameWithoutExtension
(pcfile);
- if (packagesHash.Contains (pname))
- return;
-
+
foreach (string assembly in fullassemblies) {
AddAssembly (assembly, package);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches