views:

347

answers:

1

I have a problem wherein I get an AmbiguousMatchException in some of the samples from the Silverlight.FX samples.

The TaskList.aspx sample for example demonstrates this problem when I run Start Debugging the exception gets hit on line 202 in ListView.cs

FrameworkElement uiItem = itemTemplate.LoadContent() as FrameworkElement;

Except this problem doesn't show up when I Start Without Debugging. If I am debugging it will not succeed and create an item. But Without debugging it will.

Any ideas?

A: 

I would guess that the exception is being cuaght some where up the stack and you dont see it with out the debugger being attached. Under Debug>Exceptions there are options for changing the way exceptions are handled when running under debug.

Aaron
Yeah understood. But while running in debug I see it caught I see it travel up but it will not complete the task.. without debug it works.
Robert Kozak