How to build library with WPF forms

后端 未结 6 1980
温柔的废话
温柔的废话 2021-02-05 00:53

Is it possible to build a Class Library dll which also includes WPF forms? When I try to build one I get following errors:

Error 1 Librar

6条回答
  •  不思量自难忘°
    2021-02-05 01:39

    Remove the App.xaml and App.xaml.cs in your WPF Project. Then you will be able to run the project with an output type of Class Library.

提交回复
热议问题