What are the challenges you face when working across database platforms? Take the survey
Options

Error: The given key was not present in the dictionary.

When trying to obfuscate a dll (Xamarin Forms dll) I am getting this error:

2018-12-21 16:21:17,462 INFO    SmartAssembly.ProcessingAssembly: Indexing assemblies...
2018-12-21 16:21:17,633 INFO    SmartAssembly.ProcessingAssembly: Merging assemblies...
2018-12-21 16:21:17,635 INFO    SmartAssembly.ProcessingAssembly: Merging C:\projects\WDM_EWD\WDM_EWD\WDM_EWD\WDM_EWD\bin\Debug\netstandard2.0\WDM_EWD.dll
2018-12-21 16:21:17,637 INFO    SmartAssembly.ProcessingAssembly: Merging res:SmartAssembly.HouseOfCards.dll
2018-12-21 16:21:17,637 INFO    SmartAssembly.ProcessingAssembly: Merging res:{StringsEncodingZip}.dll
2018-12-21 16:21:17,637 INFO    SmartAssembly.ProcessingAssembly: Merging res:{Zip}.dll
2018-12-21 16:21:17,844 INFO    SmartAssembly.ProcessingAssembly: Merging types...
2018-12-21 16:21:17,940 INFO    SmartAssembly.ProcessingAssembly: Updating method bodies...
2018-12-21 16:21:17,980 ERROR   SmartAssembly.ProcessingProject: The given key was not present in the dictionary.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at SmartAssembly.Engine.Collections.LazyListDictionary`3.(TKey )
   at ..(AssemblyBuilder , Merger )
   at ..(Merger , IEnumerable`1 , AssemblyBuilder , IDictionary`2 , Predicate`1 , IDictionary`2& , Predicate`1& )
   at SmartAssembly.Processors.Merging.Merger.()
   at SmartAssembly.ProcessingAssemblyHelper.()
   at ..(ProcessingAssemblyHelper )
   at SmartAssembly.ProcessingProjectHelper.() 

Any ideas on how to resolve this error?

Best Answer

Sign In or Register to comment.