Differences between WPF Custom Control Library and plain Class Library?

后端 未结 3 1757
Happy的楠姐
Happy的楠姐 2021-01-13 02:11

I posted a question a few months ago about sharing resource dictionaries across assemblies. It turns out you can do that using the Component Resource Key markup extension. A

3条回答
  •  执念已碎
    2021-01-13 02:31

    Another difference is in the .csproj File:

    In class Library the Tag is missing:

    {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
    

    After adding it to the first PropertyGroup, the add menu of the project shows now the typical WPF files.

提交回复
热议问题