WPF App.xaml in different Assembly
问题 I want to setup a WPF Application. But instead of using the entry point of the application to a App.xaml itself, I've to projects. The first projects is a Windows Application and has a normale Main function. And I've an additional project (WPF control library), that has the App.xaml, windows, controls and all it needs. The main method start the Application like this: [STAThread] static void Main() { Application.Run(); } Where Application is a class in the library: public static class