I tried to switch from VisualStudio to SharpDevelop.
In my app I included the lib EAGetMail.dll
Once I try to "Goto Definition" on the constructor "new Mail(string)" , which is from the lib, then SharpDevelop crashes with the message below.
Trying to debug my app results into the same issue, as soon as the function with this constructor is entered.
The error message is:
SharpDevelop Version : 5.1.0.5216-0e58df71
.NET Version : 4.6.01055
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : German (Austria) (de-AT)
Current UI language : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 321552kb
GC Heap Memory : 117866kb
Exception thrown:
System.ArgumentException: Ein Element mit dem gleichen Schlüssel wurde bereits hinzugefügt.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at ICSharpCode.NRefactory.TypeSystem.Implementation.DefaultUnresolvedAssembly.AddTypeDefinition(IUnresolvedTypeDefinition typeDefinition)
at ICSharpCode.NRefactory.TypeSystem.CecilLoader.LoadModule(ModuleDefinition moduleDefinition)
at Debugger.TypeSystemExtensions.LoadModule(Module module, String fileName)
at Debugger.TypeSystemExtensions.<>c__DisplayClass3_0.<LoadModuleAsync>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
---- Recent log messages:
16:36:37.780 [41] DEBUG - Received command ReportEvent
16:36:37.780 [41] DEBUG - Received command ReportEvent
16:36:37.781 [41] DEBUG - Received command ReportEvent
16:36:37.781 [41] DEBUG - Received command ReportEvent
16:36:37.783 [41] DEBUG - Received command ReportEvent
16:36:37.783 [41] DEBUG - Received command ReportEvent
16:36:37.861 [41] DEBUG - Received command ReportEvent
16:36:37.862 [41] DEBUG - Received command ReportEvent
16:36:37.863 [41] DEBUG - Received command ReportEvent
16:36:37.864 [41] DEBUG - Received command ReportEvent
16:36:37.865 [41] DEBUG - Received command ReportEvent
16:36:37.869 [41] DEBUG - Received command ReportEvent
16:36:37.882 [41] DEBUG - Received command ReportEvent
16:36:37.883 [41] DEBUG - Received command ReportEvent
16:36:37.883 [41] DEBUG - Received command BuildDone
16:36:37.883 [41] INFO - Finished building GetFinalService, success=True
16:36:37.883 [41] INFO - Start building
16:36:37.883 [21] INFO - Finished building , success=True
16:36:37.884 [1] INFO - Debugger Command: Start (withDebugger=True)
16:36:37.887 [1] INFO - Saving layout file: C:\Users\001121578\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Default.xml
16:36:37.888 [1] INFO - Loading layout file: C:\Users\001121578\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Debug.xml, hideAllLostPads=False
16:36:37.989 [1] DEBUG - ChooseLayoutCommand.LayoutChanged(object,EventArgs)
16:36:37.989 [1] DEBUG - ChooseLayoutCommand.Run()
16:36:37.989 [1] INFO - Saving layout file: C:\Users\001121578\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Debug.xml
16:36:40.385 [1] ERROR - ThreadException caught
--> Exception:
System.ArgumentException: Ein Element mit dem gleichen Schlüssel wurde bereits hinzugefügt.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at ICSharpCode.NRefactory.TypeSystem.Implementation.DefaultUnresolvedAssembly.AddTypeDefinition(IUnresolvedTypeDefinition typeDefinition)
at ICSharpCode.NRefactory.TypeSystem.CecilLoader.LoadModule(ModuleDefinition moduleDefinition)
at Debugger.TypeSystemExtensions.LoadModule(Module module, String fileName)
at Debugger.TypeSystemExtensions.<>c__DisplayClass3_0.<LoadModuleAsync>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution C:\c2k\WorkSpace_VisualStudio\SharpDevelop\GetFinalService\GetFinalService\GetFinalService.sln with 4 projects]
ProjectService.CurrentProject: [CSharpProject: GetFinalService]
Workbench.ActiveContent: [AvalonEditViewContent C:\c2k\WorkSpace_VisualStudio\SharpDevelop\GetFinalService\GetFinalService\StartClasses\MainClass.cs]