Is there a reason why Visual Studio won\'t let me create a WPF window in a DLL project?
I \"solved\" it by creating a window in an Application Project and copying it
I do it this way: 1) create "WPF Application" 2) remove App.xaml 3) change Project properties -> Application Output type: to Class Library (originally there is Windows Application)
Otherwise you will get errors:
"Library project file cannot specify ApplicationDefinition element"
"The project file contains a property value that is not valid"