Problems after copying XAML controls from WPF Application to a class library

后端 未结 5 1437
南笙
南笙 2021-02-04 23:50

In the process of refactoring some code, I encountered several build errors such as these:

Library project file cannot specify ApplicationDefinition element.

5条回答
  •  [愿得一人]
    2021-02-05 00:14

    This is also when we copy paste an Image/XAML File to ClassLibrary Project.

    Change the Build Action Property of that image to resources

提交回复
热议问题