Error: 'Cannot create unknown type '{clr-namespace:NameSpace.Properties}Settings'.'

前端 未结 4 1680
南笙
南笙 2020-12-09 02:08

I define my settings and styles in a ResourceDictionary:



        
4条回答
  •  无人及你
    2020-12-09 02:12

    Keep your "Build Action" property to "Resource" and just change this row:

    xmlns:properties="clr-namespace:Kavand.UI.Properties"
    

    with this:

    xmlns:properties="clr-namespace:Kavand.UI.Properties;assembly=Kavand.UI"
    

提交回复
热议问题