Statlight with stuff in app.xaml

Sep 14, 2011 at 8:08 AM
Edited Sep 14, 2011 at 8:09 AM

Hi all,

I have a silverlight project that has lots (1100 lines) of definitions in the app.xaml

from <SolidColorBrush Color="#FFBA29" x:Key ="YellowBorder" /> to


 <Grid Grid.Column="0" Width="{TemplateBinding Indentation}

" />   <Button Grid.Column="1" x:Name="ToggleButton" Content="+" Width="20" Margin="0,0,10,0" Visibility="{TemplateBindingExpandButtonVisible  }" />




When I run the test in a normal browser tehy all work no errors but when I run it via statlight it complains when looking for YellowBorder.

Looking here it seems that the app.xaml is replaced when statlight is used


does anyone know a way to have these resources available that doesn't use teh app.xaml


Either that or a way to let statlight use the the app.xaml


Sep 16, 2011 at 11:02 PM

I'm sure there is a way to get you going sooner, but I cant think of it off hand.

I think i can update statlight to replace its with yours during the xap rewrite time and that might work. I just can't work on it at the moment.

Could you create a work item referencing this and ill try to get to it.

Sep 21, 2011 at 3:11 PM

This question came up over in the AGUnit discussion and I verified that this method works. Take a look...

Hope this helps.