Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Unhandled exception adding references

$
0
0

Hi,

I was adding references to my vb.net project and when I hit OK it raised an unhandled exception. It asked me to report it and here I am, the newby :)

Here's the message:

SharpDevelop Version : 4.3.3.9663-463ee024
.NET Version         : 4.0.30319.296
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : English (Australia) (en-AU)
Running under WOW6432, processor architecture: x86-64
Terminal Server Session
Working Set Memory   : 425988kb
GC Heap Memory       : 212027kb

Unhandled WPF exception
Exception thrown:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at ICSharpCode.SharpDevelop.Dom.DefaultProjectContent.GetClass(String typeName, Int32 typeParameterCount, LanguageProperties language, GetClassOptions options)
   at ICSharpCode.SharpDevelop.Dom.DefaultProjectContent.SearchType(SearchTypeRequest request)
   at ICSharpCode.SharpDevelop.Dom.SearchClassReturnType.get_BaseType()
   at ICSharpCode.SharpDevelop.Dom.ProxyReturnType.GetUnderlyingClass()
   at ICSharpCode.SharpDevelop.Dom.AttributeReturnType.get_BaseType()
   at ICSharpCode.SharpDevelop.Dom.ProxyReturnType.get_FullyQualifiedName()
   at ICSharpCode.FormsDesigner.Gui.CustomComponentsSideTab.ScanProjectAssemblies()
   at ICSharpCode.FormsDesigner.Gui.CustomComponentsSideTab.RescanProjectAssemblies(Object sender, EventArgs e)
   at ICSharpCode.FormsDesigner.Gui.CustomComponentsSideTab.ProjectItemAdded(Object sender, ProjectItemEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at ICSharpCode.SharpDevelop.Project.ProjectService.OnProjectItemAdded(ProjectItemEventArgs e)
   at ICSharpCode.SharpDevelop.Project.ProjectService.AddProjectItem(IProject project, ProjectItem item)
   at ICSharpCode.SharpDevelop.Project.Commands.AddReferenceToProject.Run()
   at ICSharpCode.Core.Presentation.CommandWrapper.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Recent log messages:
15:33:07.331 [LoadSolutionProjects] DEBUG - Got information about mscorlib; fullpath=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\mscorlib.dll
15:33:07.331 [LoadSolutionProjects] DEBUG - Got information about System.Core; fullpath=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll
15:33:07.331 [LoadSolutionProjects] DEBUG - Got information about System.Data.DataSetExtensions; fullpath=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Data.DataSetExtensions.dll
15:33:07.331 [LoadSolutionProjects] DEBUG - Got information about System.Data; fullpath=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Data.dll
15:33:07.331 [LoadSolutionProjects] DEBUG - Got information about System; fullpath=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll
15:33:07.331 [LoadSolutionProjects] DEBUG - Got information about System.Drawing; fullpath=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Drawing.dll
15:33:07.331 [LoadSolutionProjects] DEBUG - Got information about System.Windows.Forms; fullpath=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Windows.Forms.dll
15:33:07.331 [LoadSolutionProjects] DEBUG - Got information about System.Xml; fullpath=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Xml.dll
15:33:07.331 [LoadSolutionProjects] DEBUG - Got information about System.Xml.Linq; fullpath=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Xml.Linq.dll
15:33:07.331 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Documents and Settings\All Users\Application Data\Arrow Research Corporation\Tencia\Client\arrowdotnet.com.common.dll
15:33:07.332 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\ProgramData\Arrow Research Corporation\Tencia\Client\arrowdotnet.com.common.settings.dll
15:33:07.332 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Documents and Settings\All Users\Application Data\Arrow Research Corporation\Tencia\Client\arrowdotnet.com.tencia.addin.dll
15:33:07.332 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\ProgramData\Arrow Research Corporation\Tencia\SDK\Addin\samples\aa_Converted to Sharp Develop\StockCodeStyleColorSize\StockCodeStyleColorSize\bin\arrowdotnet.com.tencia.addin.dll
15:33:07.332 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Documents and Settings\All Users\Application Data\Arrow Research Corporation\Tencia\Client\arrowdotnet.com.tencia.layer.common.dll
15:33:07.332 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\Microsoft.VisualBasic.dll
15:33:07.332 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\mscorlib.dll
15:33:07.332 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll
15:33:07.332 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Data.DataSetExtensions.dll
15:33:07.333 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Data.dll
15:33:07.333 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll
15:33:07.333 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Drawing.dll
15:33:07.333 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Windows.Forms.dll
15:33:07.333 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Xml.dll
15:33:07.333 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Xml.Linq.dll
15:33:07.333 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\ProgramData\Arrow Research Corporation\Tencia\Client\arrowdotnet.com.common.dll

---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: [AvalonEditViewContent C:\ProgramData\Arrow Research Corporation\Tencia\SDK\Addin\samples\aa_Converted to Sharp Develop\CreditCardSurcharge\CreditCardSurcharge\Addin.vb]
ProjectService.OpenSolution: [Solution: FileName=C:\ProgramData\Arrow Research Corporation\Tencia\SDK\Addin\samples\aa_Converted to Sharp Develop\CreditCardSurcharge\CreditCardSurcharge.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [VBNetProject: CreditCardSurcharge]


Viewing all articles
Browse latest Browse all 1764

Trending Articles