错误    1    类型“System.Windows.Markup.IQueryAmbient”在未被引用的程序集中定义。必须添加对程序集“System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”的引用。    D:\VisualStudio\2013\TestClient\TestClient\Class1.cs    6    18    TestClient


错误    2    未能在命名空间“System.Windows.Markup”中找到类型名称“IComponentConnector”。此类型已转发到程序集“System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”。请考虑添加对该程序集的引用。    D:\VisualStudio\2013\TestClient\TestClient\obj\Debug\UserControl1.g.cs    41    100    TestClient

 

在程序中添加 System.Xaml.dll 引用即可解决。

相关文章:

  • 2021-09-24
  • 2021-10-03
  • 2022-12-23
  • 2021-07-28
  • 2021-08-06
  • 2022-12-23
  • 2021-10-23
  • 2021-12-27
猜你喜欢
  • 2021-12-06
  • 2021-12-31
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案