system.collections.generic.keynotfoundexception
deepak.stoic
Posts: 2
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
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
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!