This is a migrated thread and some comments may be shown as answers.

xap blows after minifying

1 Answer 86 Views
Telerik Minifier
This is a migrated thread and some comments may be shown as answers.
Gary Blakely
Top achievements
Rank 1
Gary Blakely asked on 24 Feb 2011, 01:53 AM
My XAP works fine.  then I minify the xap.  Then it blows when trying to display my coverflow.  Error details are pasted below.
thanks, Gary

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Zune 4.7; .NET4.0C)
Timestamp: Thu, 24 Feb 2011 00:46:21 UTC

Message: Unhandled Error in Silverlight Application
Code: 4004   
Category: ManagedRuntimeError      
Message: System.Windows.Markup.XamlParseException:  [Line: 0 Position: 0] ---> System.Collections.Generic.KeyNotFoundException: [Arg_KeyNotFound]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.51204.0&File=mscorlib.dll&Key=Arg_KeyNotFound
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at System.Windows.ResourceManagerWrapper.GetResourceForUri(Uri xamlUri, Type componentType)
   --- End of inner exception stack trace ---
   at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
   at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
   at MS.Internal.XcpImports.FrameworkElement_ApplyTemplate(FrameworkElement frameworkElement)
   at System.Windows.Controls.ItemContainerGenerator.LayoutStatesManager.GetElementRoot(Boolean templatesAreGenerated)
   at System.Windows.Controls.ItemContainerGenerator.LayoutStatesManager.Load()
   at System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.PrepareItemContainer(DependencyObject container)
   at System.Windows.Controls.ItemsControl.AddVisualChild(Int32 containerIndex, DependencyObject container, Boolean needPrepareContainer)
   at System.Windows.Controls.ItemsControl.AddContainers()
   at System.Windows.Controls.ItemsControl.RecreateVisualChildren(IntPtr unmanagedObj)    

Line: 57
Char: 13
Code: 0
URI: http://www.golfchamp.net/GolfChampSLNet.aspx

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 01 Mar 2011, 02:22 PM
Hi Gary Blakely,

Thank you for reporting this issue. Unfortunately, we cannot be sure what exactly is causing it unless we manage to rerpoduce it locally. Therefore I wanted to ask you whether you can send us a project reproducing this issue so that we can further investigate it. That will greatly help us.

In the meantime it would be better to use the Assembly minifier instead.

Please accept our apology for the caused inconvenience.

Greetings,
Tina Stancheva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Telerik Minifier
Asked by
Gary Blakely
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or