to ensure find the resources

when i don't have a app.xaml,it cannot find the named resources correctly.
maybe, it's my fault...