Browse Source

Fixed build error and Forum-4986.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1097 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 20 years ago
parent
commit
382a4eaf32
  1. 4
      src/AddIns/DisplayBindings/FormsDesigner/Project/Src/Services/TypeDiscoveryService.cs
  2. 1
      src/AddIns/Misc/MonoAddIn/Project/Src/MonoGacReferencePanel.cs

4
src/AddIns/DisplayBindings/FormsDesigner/Project/Src/Services/TypeDiscoveryService.cs

@ -39,7 +39,9 @@ namespace ICSharpCode.FormsDesigner.Services
+ "excludeGlobalTypes=" + excludeGlobalTypes.ToString()); + "excludeGlobalTypes=" + excludeGlobalTypes.ToString());
//seek in all assemblies //seek in all assemblies
//allow to work designers like columns editor in datagridview //allow to work designers like columns editor in datagridview
foreach (Assembly asm in TypeResolutionService.DesignerAssemblies) { // Searching types can cause additional assemblies to be loaded, so we need to use
// ToArray to prevent an exception if the collection changes.
foreach (Assembly asm in TypeResolutionService.DesignerAssemblies.ToArray()) {
AddDerivedTypes(baseType, asm, types); AddDerivedTypes(baseType, asm, types);
} }
LoggingService.Debug("TypeDiscoveryService returns " + types.Count + " types"); LoggingService.Debug("TypeDiscoveryService returns " + types.Count + " types");

1
src/AddIns/Misc/MonoAddIn/Project/Src/MonoGacReferencePanel.cs

@ -8,6 +8,7 @@
using ICSharpCode.Build.Tasks; using ICSharpCode.Build.Tasks;
using ICSharpCode.SharpDevelop.Gui; using ICSharpCode.SharpDevelop.Gui;
using System; using System;
using System.Collections.Generic;
using System.Windows.Forms; using System.Windows.Forms;
namespace ICSharpCode.MonoAddIn namespace ICSharpCode.MonoAddIn

Loading…
Cancel
Save