Options

system.collections.generic.keynotfoundexception

deepak.stoicdeepak.stoic Posts: 2
edited December 25, 2012 4:16AM in SmartAssembly
when ever i try to obfuscate my assembly, following error occurs.
system.collections.generic.keynotfoundexception

on investigating i found that following style is causing the problem.

<ItemContainerTemplate x:Key="{ItemContainerTemplateKey DataType={x:Type Model:RibbonGalleryModel}}">
<Ribbon:RibbonGallery ScrollViewer.VerticalScrollBarVisibility="{Binding VerticalScrollBarVisibility}" ColumnsStretchToFill="True" Style="{StaticResource ResourceKey=ribbonGalleryStyle}" PreviewCommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=HighlightedItem}" />
</ItemContainerTemplate>

Thanks
Deepak

Comments

  • Options
    SethSeth Posts: 15 Bronze 1
    I know this post is super old, but can you provide any details on how you figured out which specific style was causing the issue? 

    I'm having a similar issue, and all I see in the log file for SmartAssembly is that it's merging WPF resources before it hits this same error.

    Any help you (or other users) can provide would be greatly appreciated. Thanks!
Sign In or Register to comment.