Cannot access Test Project's resources in App.xaml from LightHouse


In our silverlight app. certain resources are to be shared across various projects and hence are added to the app's app.xaml. Hence for these resources to exist during tests, we add the same set of resources in the test project's app.xaml. This works fine in VS and web browser. But fails under LightHouse "... [Failed] Cannot find a Resource with the Name/Key ...". Have attached a sample project for the same.

file attachments


staxmanade wrote Sep 29, 2011 at 5:39 PM

I'm the owner of StatLight (a similar project with a similar goal). Recently had a similar question asked. There's a good recommendation on how to handle this. One benefit to this approach is you won't need to copy paste the app.xaml data around.


Hope this helps.

spavkov wrote Sep 29, 2011 at 8:34 PM

Thanks staxmanade for the tip, i will create the task and implement this in Lighthouse.

wrote Sep 29, 2011 at 8:35 PM

JugalThakkar wrote Sep 30, 2011 at 10:14 AM

Thanks for the quick feedback, even we have done something similar as a work around. In case this gets implemented as part of lighthouse, do drop in here :)

wrote Feb 13, 2013 at 7:06 PM