Product version: 2015.1.408.0
An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Mono.Cecil.MetadataReader.InitializeNestedTypes() in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 834
at Mono.Cecil.MetadataReader.InitializeTypeDefinitions() in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 755
at Mono.Cecil.MetadataReader.ReadTypes() in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 719
at Mono.Cecil.ModuleDefinition.<get_Types>b__8(ModuleDefinition _, MetadataReader reader) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 457
at Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TRet& variable, TItem item, Func`3 read) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 985
at Mono.Cecil.ModuleDefinition.get_Types() in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 457
at ..(ModuleDefinition ,  ) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Decompiler\MemberRenamingServices\DefaultMemberRenamingService.cs:line 33
at ..(ModuleDefinition ) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Decompiler\MemberRenamingServices\DefaultMemberRenamingService.cs:line 26
at ..(ModuleDefinition , ILanguage ) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Decompiler\WriterContextServices\BaseWriterContextService.cs:line 36
at ..(ModuleDefinition , ILanguage ) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Decompiler\WriterContextServices\SimpleWriterContextService.cs:line 98
at ..(AssemblyDefinition ,  , Boolean , ICollection`1 ) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Languages\BaseAssemblyAttributeWriter.cs:line 63
at ..Write( ) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\UI\JustDecompile.CodeViewer\Writers\AssemblyAttributeCodeViewerWriter.cs:l

Alexander

Hi there,
Thanks for letting us know about this problem. I really appreciate this.
Would it be possible that you zip the assembly where that happens and send it over to my email - alexander.dimitrov at telerik.com? Rather unfortunately, that seems to be the only way to reproduce that problem.
Thank you in advance.

Alexander

It looks like the assembly causing the problem is post-processed with some tool after compilation. Normally this would be an obfuscator or MSIL optimizer. Rather unfortunately, this is not a supported scenario in JustDecompile.

ats

Error1Build failed: An item with the same key has already been added..
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at Telerik.BlackDragon.Client.Build.PrepareBuild.GetFilteredSourceFiles(ILogHelper logger)
at Telerik.BlackDragon.Client.Build.PrepareBuild.ExecuteCore(IHttpServiceContext httpServiceContext, LogHelper logger)C:\Users\ATS\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\rbao0cb4.2au\Targets\Build.targets1494WBESApp

Kaloyan

As this error is not related to JustDecomplile, I would kindly ask you to post such inquiries in the respective forum next time. Thank you for your understanding in advance.

Further, please check here for a solution to the issue. I hope it helps.

Regards,
Kaloyan
Telerik

Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.