I am wondering how to compile a WPF application into an independent shared class library(dll)? Any sample?

wpf
Edit
Report