Best practices to cleanup resources, view models and registrations in WPF view model locator. Can any one provide a sample for that.

Sep 18, 2013 at 6:38 AM

I am using WPF MVVM Light to implement our application. I want to know the best practice to clean up all the viewmodels and any other resources used. What is the approach to be followed.
Can any provide a sample app on this.

Thanks in advance.
Sep 18, 2013 at 6:59 AM

Resharper provides a good visual indication of which resources are unused, by graying them out in the XAML.