我收到以下错误:
错误26命名空间"Microsoft.Windows"中不存在类型或命名空间名称"控件"(您是否缺少程序集引用?)
这两个程序集出现在.g.cs文件中:
using Microsoft.Windows.Controls; using Microsoft.Windows.Controls.Primitives;
当我删除它们时,错误返回.
c# wpf dll
c# ×1
dll ×1
wpf ×1