In a WPF application, you can put your global static resources in app.xaml .. like
<Application.Resources>
<!--Global View Model Locator-->
<vm:ViewModelLocator x:Key="Locator"
d:IsDataSource="True" />
</Application.Resources>
That was from MVVM Light ;). Now, if your project is a wpf class library, what is a proper way to initialize such global static resources?