1-Create a new WPF Application Project
2-Add a User Control
3-Create control
4-Delete MainWindow, App.xaml and App.config files in Solution Explorer
5-Project - MyLibrary Properties - Application - Output Type - Class Library
6-Build solution... .dll file is in the bin/Release folder